Last Updated: February 25, 2016
·
282
· searsaw

Helpful Git Aliases

Here are some helpful shortcuts that make using git much more fun. I find typing git before every command to be annoying.

alias fetch="git fetch -v"
alias pull="git pull"
alias push="git push"
alias branch="git branch"
alias checkout="git checkout"
alias stat="git status"
alias commit="git commit -m"

To make these work, put them in your .bash_profile file in your home directory and restart the shell.