Useful GIT aliases

This is a list of the most common GIT aliases I use daily

alias ga='git add'
alias gco='git checkout'
alias gd='git diff'
alias gst='git status'
alias gupv='git pull --rebase -v'
alias gup='git pull --rebase'
alias gp='git push'

Add these lines in one of your shell config file, depending on the shell you use:

  • ~/.bashrc
  • ~/.zshrc