Permalink
Browse files

More aliases for git!

  • Loading branch information...
1 parent f6afa26 commit f23fcb1972531390124f1d5760b4e3a6569aa449 @eremite committed Jan 11, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 bash_aliases
View
@@ -23,6 +23,7 @@ alias gd='git diff --ignore-submodules'
alias gD='git diff --cached'
alias ga='git add'
alias gai='git add --patch' # i for interactive
+alias gan='git add --intent-to-add' # n for -N (new files), makes the above gai even better
alias gc='git commit -v'
alias gb='git branch'
complete -o default -o nospace -F _git_checkout gb
@@ -40,6 +41,8 @@ complete -o default -o nospace -F _git_checkout gco
alias grm="git status | grep deleted | awk '{print \$3}' | xargs git rm"
alias gps='git svn dcommit'
alias gls='git svn rebase'
+alias gh='git stash'
+alias ghp='git stash pop'
# rails
alias r='rails'

0 comments on commit f23fcb1

Please sign in to comment.