Skip to content

Instantly share code, notes, and snippets.

@Anmo
Last active May 6, 2024 10:07
Show Gist options
  • Save Anmo/4151f02977ef1a9ca0fa to your computer and use it in GitHub Desktop.
Save Anmo/4151f02977ef1a9ca0fa to your computer and use it in GitHub Desktop.
[alias]
co = checkout
cob = checkout -b
cod = branch -D
st = status
pl = pull
ps = push -u origin
pf = push --force-with-lease
rb = rebase
ri = rebase -i
ria = rebase -i --autosquash
rc = rebase --continue
ll = branch
cm = commit -m
cnm = commit -nm
cf = commit --fixup
cs = commit --squash
fall = fetch --all
camend = commit --amend
theirs = checkout --theirs
ours = checkout --ours
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[pull]
rebase = true
[push]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment