Skip to content

Instantly share code, notes, and snippets.

@krzysu
Last active February 18, 2020 03:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krzysu/dab7b1263073f7e2a4b85b30b7ca2e62 to your computer and use it in GitHub Desktop.
Save krzysu/dab7b1263073f7e2a4b85b30b7ca2e62 to your computer and use it in GitHub Desktop.
git aliases
[alias]
co = checkout
ci = commit
s = status
br = branch
pl = pull --rebase --autostash
ps = push
psf = push --force-with-lease
aa = !git add . && git add -u
rh = reset HEAD
prune-origin = !git remote prune origin
[push]
default = simple
[pager]
branch = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment