Added two useful git aliases found here:

http://blogs.atlassian.com/2014/10/advanced-git-aliases/
pull/351/head
Nils Winkler 2014-10-16 08:50:17 +02:00
parent 4d2a8fe62b
commit add708509d
1 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,11 @@ alias gt="git tag"
alias gta="git tag -a"
alias gtd="git tag -d"
alias gtl="git tag -l"
# 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"
case $OSTYPE in
darwin*)