Skip to content

Instantly share code, notes, and snippets.

@purplefish32
Created July 26, 2011 14:54
Show Gist options
  • Save purplefish32/1106937 to your computer and use it in GitHub Desktop.
Save purplefish32/1106937 to your computer and use it in GitHub Desktop.
My .bashrc aliases
#aliases
alias e='exit'
alias ll='ls -la'
alias lh='ls -lah'
alias rg='rgrep -n --color'
alias c='clear'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
#symfony aliases
alias srg='rgrep -n --color --exclude-dir log --exclude-dir lib/vendor/symfony'
alias cc='php symfony cc'
#git aliases
alias ga='git add'
alias gp='git push'
alias gl='git log'
alias gs='git status'
alias gd='git diff'
alias gdc='git diff --cached'
alias gm='git commit -am'
alias gb='git branch'
alias gc='git checkout'
alias gra='git remote add'
alias grr='git remote rm'
alias gpu='git pull'
alias gcl='git clone'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment