Skip to content

Instantly share code, notes, and snippets.

@antoniorosado
Created November 14, 2012 12:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antoniorosado/4071887 to your computer and use it in GitHub Desktop.
Save antoniorosado/4071887 to your computer and use it in GitHub Desktop.
git and bash alias
# Add on the top of the ~/.bash_profile on mountain Lion and ~/.bashrc on ubuntu
# colors on the terminal
#export CLICOLOR=1
#export LSCOLORS=GxFxCxDxBxegedabagaced
export TERM="xterm-color"
PS1='\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\e[0;34m\]\w\[\e[0m\]\$ '
# terminal related alias
alias ls='ls -lisa'
# git related alias
alias gc='git commit -am '
alias gp='git push origin master'
alias gph='git push heroku master'
alias gco='git checkout '
alias gs='git status'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment