add git alias to show all deleted files

This commit is contained in:
Nick Nisi
2015-01-03 16:52:04 -06:00
parent 20b8d5d495
commit e8afe013cf

View File

@@ -28,6 +28,9 @@
# order files by number of commits, ascending
churn = "!f() { git log --all -M -C --name-only --format='format:' \"$@\" | sort | grep -v '^$' | uniq -c | sort | awk 'BEGIN {print \"count\tfile\"} {print $1 \"\t\" $2}' | sort -g; }; f"
# show all deleted files in the repo
deleted = "!git log --diff-filter=D --summary | grep delete"
# current branch
cbr = rev-parse --abbrev-ref HEAD