Add git root alias

This commit is contained in:
Talia 2020-05-15 10:01:55 +02:00
parent 20fabff976
commit b306a3fa2d

View file

@ -20,6 +20,7 @@
adog = log --all --decorate --oneline --graph adog = log --all --decorate --oneline --graph
dog = log --decorate --oneline --graph dog = log --decorate --oneline --graph
identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; :" identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; :"
root = rev-parse --show-toplevel
[user] [user]
useConfigOnly = true useConfigOnly = true
[user "darkwiiplayer"] [user "darkwiiplayer"]