Skip to content

Instantly share code, notes, and snippets.

@seemaullal
Created September 13, 2016 02:44
Show Gist options
  • Select an option

  • Save seemaullal/baad5f5a1cc28546244105a3d159aff2 to your computer and use it in GitHub Desktop.

Select an option

Save seemaullal/baad5f5a1cc28546244105a3d159aff2 to your computer and use it in GitHub Desktop.

Revisions

  1. seemaullal created this gist Sep 13, 2016.
    17 changes: 17 additions & 0 deletions aliases
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    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^'