Skip to content

Instantly share code, notes, and snippets.

@notpushkin
Last active June 18, 2024 09:07
Show Gist options
  • Select an option

  • Save notpushkin/a5198b380c8ded58db13e900073e8b9b to your computer and use it in GitHub Desktop.

Select an option

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 = -c push.autoSetupRemote=true push
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
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment