Created
October 2, 2017 01:46
-
-
Save nnja/54ffb43e771fd3c93e680a3a42c9a30e to your computer and use it in GitHub Desktop.
Command line aliases for git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ga='git add' | |
alias gp='git push' | |
alias gpu='git pull' | |
alias gs='git status' | |
alias gd='git diff' | |
alias gds='git diff --staged' | |
alias gm='git commit -m' | |
alias gc='git checkout' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add these time saving aliases to your .bashrc file, then run source ~/.bashrc