This shows you the differences between two versions of the page.
docu:csheet:sysadm:script:git:changes_directory [2022/02/09 10:11] admin created |
docu:csheet:sysadm:script:git:changes_directory [2022/02/09 10:11] (current) admin |
||
---|---|---|---|
Line 2: | Line 2: | ||
\\ | \\ | ||
+ | This one is more similar to the svn command as it shows the file status: Added (A), Copied (C), Deleted (D), Modified (M), Renamed (R), and others. | ||
+ | |||
<code bash> | <code bash> | ||
git log --name-status -10 path/to/dir | git log --name-status -10 path/to/dir |