Skip to content

Instantly share code, notes, and snippets.

@robertSahm
Forked from joncode/gist:2713367
Created May 17, 2012 22:53
Show Gist options
  • Save robertSahm/2722128 to your computer and use it in GitHub Desktop.
Save robertSahm/2722128 to your computer and use it in GitHub Desktop.
github terminal alias commands - awesome!
alias ll="ls -lahG"
alias cdr='cd ~/rails'
alias gs='git status'
alias gl='git pull'
alias gp='git push'
alias gm='git merge'
alias gap='git add -p'
alias gaa='git add .'
alias gd='git diff | mate'
alias gc='git commit -m'
alias gca='git commit -m -a'
alias gb='git branch'
alias gba='git branch -a'
alias gco='git checkout'
alias gcb='git checkout -b'
alias gphm='git push heroku master'
alias gph='git push heroku'
alias gk='gitk --all &'
alias hl='heroku logs'
alias hr='heroku run'
alias hrdb='heroku run rake db:migrate'
alias bi='bundle install'
alias rdbm='rake db:migrate'
alias rs='rails server'
alias rc='rails console'
other potential aliases :
git checkout master gcom
change gcb to gcob
-sahm
@robertSahm
Copy link
Author

sahm test add

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment