Created
August 19, 2011 18:16
-
-
Save tonyhuynh/1157566 to your computer and use it in GitHub Desktop.
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
export PS1="\n\[\033[38m\]\u@\[\033[01;34m\] \w \[\033[31m\]\n\`ruby -e \"print (%x{git branch 2> /dev/null}.split(%r{\n}).grep(/^\*/).first || '').gsub(/^\* (.+)$/, '(\1)')\"\`\[\033[37m\]$\[\033[00m\] " | |
# git | |
alias gs='git status' | |
alias gc='git commit' | |
alias gcm='git commit -m' | |
alias gco='git checkout' | |
alias gl='git pull' | |
alias gpm='git push origin master' | |
alias gpd='git push origin development' | |
alias gps='git push origin staging' | |
alias gpp='git push origin production' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment