Skip to content

Instantly share code, notes, and snippets.

@ALiangLiang
Created February 7, 2020 08:27
Show Gist options
  • Save ALiangLiang/faf4f27edc963a89642f25af71e9167d to your computer and use it in GitHub Desktop.
Save ALiangLiang/faf4f27edc963a89642f25af71e9167d to your computer and use it in GitHub Desktop.
# git aliases
alias g='git'
alias gbr='git branch'
alias ga='git add'
alias gc='git commit'
alias gs='git status'
alias gp='git push'
alias gd='git diff'
alias gl='git log'
alias gck='git checkout'
alias gpl='git pull'
alias gm='git merge'
alias gmfo='git merge --ff-only'
alias gt='git tag'
alias grm='git rm'
alias gst='git stash'
alias grs='git reset'
alias gcl='git clone'
alias grb='git rebase'
alias gmv='git mv'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment