Added two useful git aliases found here:
http://blogs.atlassian.com/2014/10/advanced-git-aliases/pull/350/head
parent
931aba4281
commit
9702b7c36b
|
|
@ -36,6 +36,11 @@ 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"
|
||||||
|
# From http://blogs.atlassian.com/2014/10/advanced-git-aliases/
|
||||||
|
# Show commits since last pull
|
||||||
|
alias gnew="git log HEAD@{1}..HEAD@{0}"
|
||||||
|
# Add uncommitted and unstaged changes to the last commit
|
||||||
|
alias gcaa="git commit -a --amend -C HEAD"
|
||||||
|
|
||||||
if [ -z "$EDITOR" ]; then
|
if [ -z "$EDITOR" ]; then
|
||||||
case $OSTYPE in
|
case $OSTYPE in
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue