Skip to content

Instantly share code, notes, and snippets.

@stevei101
Last active August 29, 2015 14:26
Show Gist options
  • Save stevei101/c0a85e8b390871be6a81 to your computer and use it in GitHub Desktop.
Save stevei101/c0a85e8b390871be6a81 to your computer and use it in GitHub Desktop.
# git. add to .bashrc / .bash_profile
alias cgo='git commit -m' # comment in quotes
alias chg='git checkout'
alias brg='git branch'
alias dfg='git diff'
alias stg='git status'
alias rbg='git checkout master; git pull --rebase'
alias gpo='git push origin' # branch name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment