Skip to content

Instantly share code, notes, and snippets.

@eebs
Created November 16, 2022 18:10
Show Gist options
  • Save eebs/edfcbdaba82f33d52fede79caadf3e80 to your computer and use it in GitHub Desktop.
Save eebs/edfcbdaba82f33d52fede79caadf3e80 to your computer and use it in GitHub Desktop.
Useful git aliases
[alias]
ca = commit --amend
cf = commit --fixup
ci = commit -v
cne = commit --amend --no-edit
pf = push --force-with-lease
ps = push
psu = push -u
ra = rebase --abort
rc = rebase --continue
rs = rebase --skip
s = switch
sc = switch -c
sl = log --oneline -20
sp = stash pop
su = stash -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment