1

For example, if Joe logs in to Cloud9 and changes code in six files, then logs out, how would I know what files he has changed?

Nathan Tuggy
  • 2,237
  • 27
  • 30
  • 38
Jonathan Elder
  • 188
  • 1
  • 6
  • Right, but what about authorship of the files themselves in the directory structure? You can;t really be expected to look in each file for his changes if you have 3000 files in your project... – Jonathan Elder Feb 04 '15 at 05:42

1 Answers1

2

Right now, the only way I can think of is finding which files were modified last. From there on, you can use the File History viewer to see what modifications were made to each file by your team member:

Within Terminal:

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

I've taken this script and modified it to ignore files within the .c9 folder from this answer: How to recursively find and list the latest modified files in a directory with subdirectories and times?

Hope this helps!

Community
  • 1
  • 1
Mutahhir
  • 3,812
  • 3
  • 21
  • 26