有没有办法查看另一个团队成员最近在 Cloud9 中编辑了哪些文件?

Is there a way to see what files another team member has recently edited in Cloud9?

例如,如果乔登录到 Cloud9 并更改了六个文件中的代码,然后注销,我怎么知道他更改了哪些文件?

目前,我唯一能想到的方法就是找出最后修改了哪些文件。从那以后,您可以使用文件历史查看器查看您的团队成员对每个文件进行了哪些修改:

终端内:

find -type f -print0 | xargs -0 stat --format '%Y :%y %n' | sort -nr | cut -d: -f2- | sed '/\.\/\.c9\//d' | head

我已采用此脚本并将其修改为忽略来自此答案的 .c9 文件夹中的文件: How to recursively find and list the latest modified files in a directory with subdirectories and times?

希望对您有所帮助!