1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 20:15:31 +02:00

git-diff: add example using relative time range

Close #1368
This commit is contained in:
jitakirin 2017-10-31 22:32:16 +00:00 committed by GitHub
parent 3b1696ecb4
commit a33f630def
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,10 @@
`git diff --staged`
- Show changes from all commits since a given date/time:
`git diff 'HEAD@{3 days ago}'`
- Show only names of changed files since a given commit:
`git diff --name-only {{commit}}`