Skip to content

Instantly share code, notes, and snippets.

@kstep
Last active November 6, 2021 12:11
Show Gist options
  • Save kstep/03a7b557778370b9d6a89880292e099a to your computer and use it in GitHub Desktop.
Save kstep/03a7b557778370b9d6a89880292e099a to your computer and use it in GitHub Desktop.
[alias]
co = checkout
di = diff
ci = commit
cm = commit -m
ap = add -p
dc = diff --cached
s = status -s
g = log --graph --decorate
p = push
u = pull
ur = pull --rebase
r = rebase
rc = rebase --continue
ra = rebase --abort
rf = rebase --autosquash -i
cf = commit --fixup
ri = rebase -i
b = branch
f = fetch
st = stash
du = diff --name-only --diff-filter=u
[user]
email = me@kstep.me
name = Konstantin Stepanov
[push]
default = simple
[github]
user = kstep
[diff]
compactionHeuristic = true
[config]
log = diff-so-fancy | less
show = diff-so-fancy | less
diff = diff-so-fancy | less
[init]
defaultBranch = main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment