Add alias to show the files touched in a commit

This commit is contained in:
Kenneth Benzie 2019-01-17 17:48:43 +00:00
parent 9511061155
commit e63768ba22

1
config
View File

@ -20,6 +20,7 @@
force = push --force-with-lease force = push --force-with-lease
changes = !sh -c 'git log --oneline $1..' -- changes = !sh -c 'git log --oneline $1..' --
touched = diff-tree --no-commit-id --name-only -r
tree = log --graph --abbrev-commit --oneline --decorate \ tree = log --graph --abbrev-commit --oneline --decorate \
--format=format:'%C(yellow)%h%C(reset) %C(blue)%aD%C(reset) %C(green)(%ar)%C(reset)%C(bold)%d%C(reset)%n %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --format=format:'%C(yellow)%h%C(reset) %C(blue)%aD%C(reset) %C(green)(%ar)%C(reset)%C(bold)%d%C(reset)%n %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'