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.
Written by Alex Sears
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#