Skip to content

Instantly share code, notes, and snippets.

@seemaullal
Created September 13, 2016 02:44
Show Gist options
  • Save seemaullal/baad5f5a1cc28546244105a3d159aff2 to your computer and use it in GitHub Desktop.
Save seemaullal/baad5f5a1cc28546244105a3d159aff2 to your computer and use it in GitHub Desktop.
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