Skip to content

Instantly share code, notes, and snippets.

@rhubarbwu
Last active June 23, 2025 00:03
Show Gist options
  • Save rhubarbwu/2c037177450ed7c0c861ce03af80e230 to your computer and use it in GitHub Desktop.
Save rhubarbwu/2c037177450ed7c0c861ce03af80e230 to your computer and use it in GitHub Desktop.
useful git shortcut aliases
[alias]
br = branch
ci = commit
cia = commit --amend
cl = clone
co = checkout
l = log
mg = merge
p = push
pf = push --force
rb = rebase
re = restore
rth = reset --hard HEAD^
rt = reset
ss = stash
st = status
sw = switch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment