Skip to content

Instantly share code, notes, and snippets.

@CodeOfficer
Created February 28, 2009 23:28
Show Gist options
  • Save CodeOfficer/72149 to your computer and use it in GitHub Desktop.
Save CodeOfficer/72149 to your computer and use it in GitHub Desktop.
alias home='cd ~/'
alias ll='ls -lAGhF'
alias tld='tail -f log/development.log'
alias tlp='tail -f log/production.log'
alias ss='script/server'
alias ssd='script/server --debugger'
alias ssp='script/server -e production'
alias sc='script/console'
alias scs='script/console --sandbox'
alias sg='script/generate'
alias sp='script/plugin'
alias st="touch tmp/restart.txt"
alias rr='rake routes'
alias rdfl='rake db:fixtures:load'
alias rdm0='rake db:migrate VERSION=0'
alias rdm='rake db:migrate'
alias rtf='rake db:drop; rake db:create; rake db:migrate;'
alias rtfo='rake db:drop; rake db:create; rake db:migrate; rake db:fixtures:load'
alias rtfop='rake db:drop RAILS_ENV=production; rake db:create RAILS_ENV=production; rake db:migrate RAILS_ENV=production; rake db:fixtures:load RAILS_ENV=production'
alias rrm='railroad -o model.dot -M'
alias rrc='railroad -o controller.dot -C'
alias rupdate='sudo gem install rails --source=http://gems.rubyonrails.org'
alias gb='git branch'
alias gba='git branch -a'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gd='git diff | mate'
alias gl='git pull'
alias gp='git push'
alias gst='git status'
alias ga.='git add .'
alias grh='git reset --hard'
alias glpo='git log --pretty=oneline'
alias glgs='git log | git shortlog -n -s'
alias gweb='git-instaweb -d webrick'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment