Update some git aliases

pull/665/head
Eduardo Bellido Bellido 2016-02-12 01:29:40 +01:00
parent 8d2cc7e251
commit c34cd9b7ec
1 changed files with 5 additions and 3 deletions

View File

@ -5,8 +5,10 @@ about-alias 'common git abbreviations'
alias gcl='git clone' alias gcl='git clone'
alias ga='git add' alias ga='git add'
alias gall='git add -A' alias gall='git add -A'
alias gf='git fetch --all --prune --verbose' alias gf='git fetch --all --prune'
alias gft='git fetch --all --prune --tags --verbose' alias gft='git fetch --all --prune --tags'
alias gfv='git fetch --all --prune --verbose'
alias gftv='git fetch --all --prune --tags --verbose'
alias gus='git reset HEAD' alias gus='git reset HEAD'
alias gm="git merge" alias gm="git merge"
alias g='git' alias g='git'
@ -40,7 +42,7 @@ alias gexport='git archive --format zip --output'
alias gdel='git branch -D' alias gdel='git branch -D'
alias gmu='git fetch origin -v; git fetch upstream -v; git merge upstream/master' alias gmu='git fetch origin -v; git fetch upstream -v; git merge upstream/master'
alias gll='git log --graph --pretty=oneline --abbrev-commit' alias gll='git log --graph --pretty=oneline --abbrev-commit'
alias gg="git log --graph --pretty=format:'%C(bold)%h%Creset%C(yellow)%d%Creset %s %C(yellow)%an %C(cyan)%cr%Creset' --abbrev-commit --date=relative" alias gg="git log --graph --pretty=format:'%C(bold)%h%Creset%C(magenta)%d%Creset %s %C(yellow)<%an> %C(cyan)(%cr)%Creset' --abbrev-commit --date=relative"
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"