Skip to content

Instantly share code, notes, and snippets.

@puzankov
Created May 10, 2021 00:56
Show Gist options
  • Save puzankov/ef553ab290b31e6007e7e3e210053a70 to your computer and use it in GitHub Desktop.
Save puzankov/ef553ab290b31e6007e7e3e210053a70 to your computer and use it in GitHub Desktop.
Gitconfig
[user]
name = Sergey Puzankov
email = sergey@frontend-science.com
[alias]
st = status
b = branch
ci = commit -a
co = checkout
prom = pull --rebase origin master
lol = log --graph --decorate --pretty=oneline --abbrev-commit
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
[color]
ui = auto
intreractive = auto
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[merge]
log = true
ff = false
[branch]
autosetuprebase = always
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,space-before-tab
[diff]
noprefix = true
[rerere]
enabled = true
[ssh]
variant = ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment