Skip to content

Instantly share code, notes, and snippets.

@chancesmith
Created May 26, 2016 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chancesmith/6eddb328ab749301972a334de44b9c05 to your computer and use it in GitHub Desktop.
Save chancesmith/6eddb328ab749301972a334de44b9c05 to your computer and use it in GitHub Desktop.
Terminal aliases for Git
#git
alias gs='git status'
alias ga='git add .'
alias gaa='git add --all'
alias gc='git commit -m'
alias gca='git commit --amend -m'
alias gl='git pull'
alias gp='git push'
alias gco='git checkout'
alias gpom="git pull origin master"
alias gd='git diff | mate'
alias gb='git branch'
alias gba='git branch -a'
alias del='git branch -d'
alias gr='git remote'
#just in case
alias got='git '
alias get='git '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment