Skip to content

Instantly share code, notes, and snippets.

@technic
Created December 3, 2018 15:54
Show Gist options
  • Save technic/23a953404ca3e0417e8a80760e548aa5 to your computer and use it in GitHub Desktop.
Save technic/23a953404ca3e0417e8a80760e548aa5 to your computer and use it in GitHub Desktop.
Git aliases
alias gd='git diff'
alias gst='git status'
alias gc='git commit -v'
alias ga='git add'
alias gb='git branch'
alias gds='git diff --staged'
alias gp='git push'
alias gup='git pull --rebase'
alias gupa='git pull --rabase --autostash'
alias gco='git checkout'
alias gsta='git stash save'
alias gstp='git stash pop'
alias gstl='git stash list'
alias gsts='git stash show --text'
alias gstd='git stash drop'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment