Skip to content

Instantly share code, notes, and snippets.

@notpushkin
Last active March 25, 2023 13:17
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 notpushkin/a5198b380c8ded58db13e900073e8b9b to your computer and use it in GitHub Desktop.
Save notpushkin/a5198b380c8ded58db13e900073e8b9b to your computer and use it in GitHub Desktop.
[user]
# name = Alexander Pushkov
# email = alexander@notpushk.in
[alias]
st = status
last = log -1 HEAD
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
lgd = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd) %C(bold blue)<%an>%Creset'
get = clone --depth=1
prune = fetch --prune
puff = pull --ff-only
purr = pull --rebase
publish = !git push --set-upstream origin "$(git rev-parse --abbrev-ref HEAD)"
co = checkout
cb = checkout -b
rmb = branch -d
stash-all = stash save --include-untracked
tm = rebase -i @{u}
uncommit = reset --soft HEAD^
[gui]
editor = codium
[push]
default = simple
followTags = true
[commit]
# gpgSign = true
[diff]
tool = icdiff
[difftool]
prompt = false
[difftool "icdiff"]
cmd = icdiff --line-numbers $LOCAL $REMOTE
[http]
# proxy = socks5h://127.0.0.1:55555
[cola]
spellcheck = false
[init]
defaultBranch = master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment