Skip to content

Instantly share code, notes, and snippets.

@brianng
Created April 9, 2010 16:33
Show Gist options
  • Save brianng/361350 to your computer and use it in GitHub Desktop.
Save brianng/361350 to your computer and use it in GitHub Desktop.
bash aliases for Git
alias g='git'
alias gcd='git checkout dev'
alias gcm='git checkout master'
alias gd='git diff'
alias gmd='git merge dev'
alias gp='git push'
alias grm='git rebase master'
alias gsl='git stash list'
alias gsp='git stash pop'
alias gss='git stash save'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment