Skip to content

Instantly share code, notes, and snippets.

@mCzolko
Last active November 10, 2022 10:12
Show Gist options
  • Save mCzolko/668b3095af8a7c48cb035795134ea5aa to your computer and use it in GitHub Desktop.
Save mCzolko/668b3095af8a7c48cb035795134ea5aa to your computer and use it in GitHub Desktop.
[core]
excludesfile = ~/.gitignore
[alias]
co = checkout
ci = commit
pp = push
s = status -s
st = status -s
df = diff --color --color-words --abbrev
aa = add --all
sup = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`
pup = !git push --set-upstream origin `git symbolic-ref --short HEAD`
plr = pull --rebase
rh = reset --hard
undo = reset --soft HEAD~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment