diff options
author | johannst <johannst@users.noreply.github.com> | 2024-04-05 23:16:19 +0000 |
---|---|---|
committer | johannst <johannst@users.noreply.github.com> | 2024-04-05 23:16:19 +0000 |
commit | 63d71256f83e5da6479d90d1bbdaf17ad6d31f02 (patch) | |
tree | 764f346960e00afaf945673a365d0063f64f29ff /tools/git.html | |
parent | 1d01762f8b174573dd58e6da1630bd92bc193512 (diff) | |
download | notes-63d71256f83e5da6479d90d1bbdaf17ad6d31f02.tar.gz notes-63d71256f83e5da6479d90d1bbdaf17ad6d31f02.zip |
deploy: c660b71b9689af89bc09671e6a6de7f9943e2709
Diffstat (limited to 'tools/git.html')
-rw-r--r-- | tools/git.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/git.html b/tools/git.html index 2d64c24..68ee78f 100644 --- a/tools/git.html +++ b/tools/git.html @@ -294,6 +294,7 @@ the same repository (shared .git folder).</p> <pre><code class="language-markdown"> 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 |