added tags alias

This commit is contained in:
tmont 2015-05-26 15:36:29 -07:00
parent f1eeb98561
commit 42051d77e1

View File

@ -1,6 +1,7 @@
[alias] [alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset %Cgreen(%cr)%Creset %C(bold blue)%an%Creset%C(yellow)%d%Creset %s' --abbrev-commit lg = log --color --graph --pretty=format:'%Cred%h%Creset %Cgreen(%cr)%Creset %C(bold blue)%an%Creset%C(yellow)%d%Creset %s' --abbrev-commit
stat = status -sb stat = status -sb
tags = !git log --decorate=full --all --pretty=format:'%ai %d %s' --abbrev-commit | grep 'refs/tags' | sed -E 's/\\(tag:.+\\)[[:space:]]//'
[color] [color]
ui = true ui = true
[user] [user]