Skip to content

Instantly share code, notes, and snippets.

@rndD
Last active November 13, 2023 11:40
Show Gist options
  • Save rndD/fd9d888acd6b822e366544625af2aa1e to your computer and use it in GitHub Desktop.
Save rndD/fd9d888acd6b822e366544625af2aa1e to your computer and use it in GitHub Desktop.
git config for 2022-2023
[user]
name = Alexey Kalmakov
email = st00nsa@gmail.com
[core]
mergeoptions = --no-ff
pager = less -r
[alias]
vlog = log --pretty='%h (%an) %s' --graph
st = status
co = checkout
cp = cherry-pick
ci = commit
up = pull
di = diff
br = branch
lol = log --graph --decorate --pretty=oneline --abbrev-commit
diffc = diff -M -C -C --cached
hist = log --pretty=format:'%C(yellow)%h%C(reset) %ad | %C(75)%s%C(reset) %C(yellow)%d%C(reset) [%an]' --graph --date=short --branches --all
hash = show -s --format=%H
gpruneorigin = remote prune origin
[color]
ui = true
branch = auto
diff = auto
interactive = auto
status = auto
[push]
default = current
autoSetupRemote = true
[rebase]
autosquash = true
[pull]
rebase = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment