Skip to content

Instantly share code, notes, and snippets.

@UltiRequiem
Created August 1, 2022 22:01
Show Gist options
  • Save UltiRequiem/f7c91fd902a16c7356075952da9a633e to your computer and use it in GitHub Desktop.
Save UltiRequiem/f7c91fd902a16c7356075952da9a633e to your computer and use it in GitHub Desktop.
[alias]
co = checkout
cob = checkout -b
coo = !git fetch && git checkout
br = branch
brd = branch -d
st = status
aa = add -A .
unstage = reset --soft HEAD^
cm = commit -m
amend = commit --amend -m
fix = commit --fixup
undo = reset HEAD~1
rv = revert
cp = cherry-pick
pu = !git push origin `git branch --show-current`
fush = push -f
mg = merge --no-ff
rb = rebase
rbc = rebase --continue
rba = rebase --abort
rbs = rebase --skip
rom = !git fetch && git rebase -i origin/master --autosquash
save = stash push
pop = stash pop
apply = stash apply
rl = reflog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment