Created
December 15, 2017 13:51
-
-
Save oscarcp777/2cc21515bcc9c8f159e6da4a2a52ba16 to your computer and use it in GitHub Desktop.
Git Aliases
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 gaa='git add .' | |
alias gbv='git branch -v' | |
alias gcm='git commit -m' | |
alias gca='git commit -a -m' | |
alias gco='git checkout' | |
alias gcob='git checkout -b' | |
alias gcom='git checkout master' | |
alias gcos='git checkout staging' | |
alias gcod='git checkout develop' | |
alias gpl='git pull origin $(git rev-parse --abbrev-ref HEAD)' | |
alias gpd='git pull origin develop' | |
alias gpm='git pull origin master' | |
alias gps='git push origin $(git rev-parse --abbrev-ref HEAD)' | |
alias gs='git status' | |
alias gst='git stash' | |
alias gsta='git stash apply' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment