Added git tag aliases
http://stackoverflow.com/questions/14273531/how-to-sort-git-tags
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user