Created
August 30, 2012 17:58
-
-
Save lukelex/3535571 to your computer and use it in GitHub Desktop.
My git shorcuts
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
| alias g='git' | |
| alias gs='git status' | |
| alias ga='git add' | |
| alias gal='git add .' | |
| alias gcm='git commit -m' | |
| alias gcam='git commit -am' | |
| alias gc='git checkout' | |
| alias gcl='git clone' | |
| alias gm='git merge' | |
| alias gps='git push' | |
| alias gpso='git push origin' | |
| alias gpl='git pull' | |
| alias gplo='git pull origin' | |
| alias gplr='git pull --rebase' | |
| alias gb='git branch' | |
| alias gd='git diff' | |
| alias rs='rails server' | |
| alias rsp='rails server -e production' | |
| alias rc='rails console' | |
| alias rcp='rails console production' | |
| alias rcsb='rails console --sandbox' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment