Skip to content

Instantly share code, notes, and snippets.

@oafridi
Last active August 29, 2015 14:08
Show Gist options
  • Save oafridi/a563d8a34461a1085952 to your computer and use it in GitHub Desktop.
Save oafridi/a563d8a34461a1085952 to your computer and use it in GitHub Desktop.
alias la='ls -altr'
alias gst='git status'
alias gco='git checkout'
alias gc='git commit'
alias rdc='bundle exec rake db:create'
alias rdm='bundle exec rake db:migrate'
alias rdd='bundle exec rake db:drop'
alias be='bundle exec'
alias rdm='bundle exec rake db:migrate'
alias rdc='bundle exec rake db:create'
alias rdd='bundle exec rake db:drop'
alias psg='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'
alias ga='git add'
alias gaa='git add .'
alias gb='git branch -v'
alias gr='git remote -v'
alias ..='cd ..'
function rgn() { rake generate:model NAME=$1 }
function resetdb() { rdd; rdc; rdm }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment