commit 50a27e4fac217f48be30dcaeab2faa68b7c36b70
parent 4e8feecb2c51a19ee449577e9490c2462de3353f
Author: Daniel Moch <daniel@danielmoch.com>
Date: Thu, 2 Aug 2018 18:28:55 -0400
New Git aliases
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.gitconfig b/.gitconfig
@@ -17,7 +17,9 @@
[mergetool]
prompt = false
[alias]
- ls = ls-tree --name-only -r
+ ls = ls-tree --name-only HEAD
pretty = log --graph --abbrev-commit --pretty=oneline --decorate --all
+ ls-all = !git ls-tree --name-only -r HEAD $(git rev-parse --show-toplevel)
+ ls-r = ls-tree --name-only -r HEAD
[init]
templatedir = ~/.local/lib/gitdir