diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/git.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/git.md b/src/tools/git.md index 33bf858..8d5c26c 100644 --- a/src/tools/git.md +++ b/src/tools/git.md @@ -138,6 +138,7 @@ the same repository (shared .git folder). git diff <commit>..<commit> [<file>] .... show changes between two arbitrary commits. If one <commit> is omitted it is if HEAD is specified. + git diff --name-only <commit>..<commit> . show names of files changed git diff -U$(wc -l <file>) <file> ....... shows complete file with diffs instead of usual diff snippets git diff --staged ....................... show diffs of staged files |