Skip to content

Instantly share code, notes, and snippets.

Created Sep 13, 2016
What would you like to do?
alias log="git log --graph --pretty=format:'%Cred%h%Creset %C(cyan)%an%Creset -%C(blue)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias inst='bundle && rake db:migrate && npm install'
alias rs='git reset --hard HEAD'
alias prodc='cap production rails:console'
alias test='zeus rspec'
alias gco='git checkout'
alias ga='git add'
alias gap='git add -p'
alias gcp='git commit -p'
alias gd='git diff'
alias gcm='git commit -m'
alias gst='git status'
alias gsh='git stash'
alias gsv='git stash save'
alias gnb='git checkout -b'
alias gpf='git push -f origin HEAD'
alias 'gundo'='git reset HEAD^'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment