Merge pull request #279 from jbarbuto/master

Added git tag aliases
pull/280/head
Travis Swicegood 2014-04-01 10:19:48 -05:00
commit 63e6e8be56
1 changed files with 13 additions and 0 deletions

View File

@ -36,6 +36,19 @@ alias gg="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %
alias ggs="gg --stat" alias ggs="gg --stat"
alias gsl="git shortlog -sn" alias gsl="git shortlog -sn"
alias gw="git whatchanged" alias gw="git whatchanged"
alias gt="git tag"
alias gta="git tag -a"
alias gtd="git tag -d"
alias gtl="git tag -l"
case $OSTYPE in
darwin*)
alias gtls="git tag -l | gsort -V"
;;
*)
alias gtls='git tag -l | sort -V'
;;
esac
if [ -z "$EDITOR" ]; then if [ -z "$EDITOR" ]; then
case $OSTYPE in case $OSTYPE in