Created
July 28, 2011 18:49
-
-
Save joshdvir/1112232 to your computer and use it in GitHub Desktop.
Git bash aliases for .bash_profile and .bashrc
This file contains hidden or 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
# git | |
alias gl='git pull' | |
alias gp='git push' | |
alias gpom='git push origin master' | |
alias gpos='git push origin staging' | |
alias push='git co master ; git push origin master ; git co develop ; git push origin develop' | |
alias pull='git co master ; git pull origin master ; git co develop ; git pull origin develop' | |
alias gd='git diff' | |
alias gc='git commit' | |
alias gca='git commit -a' | |
alias gco='git checkout' | |
alias gb='git branch' | |
alias gs='git status' | |
alias grm="git status | grep deleted | awk '{print \$3}' | xargs git rm" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment