Skip to content

Instantly share code, notes, and snippets.

@codejets
Created September 14, 2015 07:27
Show Gist options
  • Save codejets/d6da9f1ce10dc5d2f3aa to your computer and use it in GitHub Desktop.
Save codejets/d6da9f1ce10dc5d2f3aa to your computer and use it in GitHub Desktop.
git settings
alias git='hub'
alias g='git status -sb'
alias gh='git hist'
alias gp='git pull'
alias gpr='git pull --rebase'
alias gpp='git pull --rebase && git push'
alias gf='git fetch'
alias gb='git branch'
alias ga='git add'
alias gc='git commit'
alias gca='git commit --amend'
alias gcv='git commit --no-verify'
alias gd='git diff --color-words'
alias gdc='git diff --cached -w'
alias gdw='git diff --no-ext-diff --word-diff'
alias gdv='git diff'
alias gl='git log --oneline --decorate'
alias gt='git tag'
alias grc='git rebase --continue'
alias grs='git rebase --skip'
alias gsl='git stash list'
alias gss='git stash save'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment