Add command to get history of deleted file
This commit is contained in:
parent
95465cd938
commit
57f12d2559
|
@ -38,6 +38,9 @@ git log --follow -p <file>
|
||||||
# View commits that have deleted files.
|
# View commits that have deleted files.
|
||||||
git log --diff-filter=D --summary
|
git log --diff-filter=D --summary
|
||||||
|
|
||||||
|
# View commits that changed a file, even if deleted.
|
||||||
|
git log --all -- <file>
|
||||||
|
|
||||||
# View all deleted files.
|
# View all deleted files.
|
||||||
git log --all --pretty=format: --name-only --diff-filter=D | sort -u
|
git log --all --pretty=format: --name-only --diff-filter=D | sort -u
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue