diff --git a/src/logging.md b/src/logging.md index e8db81d..e8a5bfc 100644 --- a/src/logging.md +++ b/src/logging.md @@ -38,6 +38,9 @@ git log --follow -p # View commits that have deleted files. git log --diff-filter=D --summary +# View commits that changed a file, even if deleted. +git log --all -- + # View all deleted files. git log --all --pretty=format: --name-only --diff-filter=D | sort -u