an alias to list all git aliases, nice
authorpatrick nsukami <ndkpatt@gmail.com>
Wed, 10 Dec 2014 20:48:06 +0000 (20:48 +0000)
committerpatrick nsukami <ndkpatt@gmail.com>
Wed, 10 Dec 2014 20:48:06 +0000 (20:48 +0000)
.gitconfig

index bb28db8..039e195 100644 (file)
@@ -8,6 +8,7 @@
         autocrlf = input
 
 [alias]
+        aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ = /'
         last = log -1 HEAD
         list-assumed-unchanged = !git ls-files -v | grep "^[[:lower:]]"
         lol = log --graph --decorate --pretty=oneline --abbrev-commit