Add root alias to show the top level git directory

This commit is contained in:
Kenneth Benzie 2021-07-14 11:22:42 +01:00
parent 561ea3bc1a
commit 1f87dfa8a5

2
config
View File

@ -1,6 +1,8 @@
# vim: ft=gitconfig
[alias]
root = rev-parse --show-toplevel
abandon = !git reset --hard HEAD && git clean -d -f
unstage = reset -q HEAD --