Skip to content

Instantly share code, notes, and snippets.

@BDQ
Created February 13, 2012 13:49
Show Gist options
  • Save BDQ/1817076 to your computer and use it in GitHub Desktop.
Save BDQ/1817076 to your computer and use it in GitHub Desktop.
#Super lazy:
alias v="mvim ."
alias rs="bundle exec rails server"
alias rsd="bundle exec rails server --debugger"
alias rsp="bundle exec rails server -e production"
alias rc="bundle exec rails console"
alias rd="bundle exec rails db"
alias r="bundle exec rake"
alias b="bundle"
alias be="bundle exec"
alias bs="bundle show"
alias bi="bundle install"
alias bu="bundle update"
alias gd="git diff | mvim - && echo"
alias gs="git status"
alias gsh="git show | mvim -"
alias gc="git commit -am"
alias gco="git checkout"
alias gph="git push"
alias gpho="git push origin"
alias gphom="git push origin master"
alias gpl="git pull"
alias gplo="git pull origin"
alias gplom="git pull origin master"
alias gck="git checkout"
alias gundo="git reset --soft HEAD^"
alias gredo="git commit -c ORIG_HEAD"
alias gcp="git cherry-pick"
alias rg="rvm gemset"
alias rgu="rvm gemset use"
alias fs="foreman start"
alias rac="bundle exec rake assets:clean"
alias rap="bundle exec rake assets:precompile"
alias rapn="bundle exec rake assets:precompile:nondigest"
alias rmigs="bundle exec rake railties:install:migrations"
alias sand="r sandbox && cd sandbox && rs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment