Skip to content

Instantly share code, notes, and snippets.

@amiroff
Created January 30, 2020 09:24
Show Gist options
  • Save amiroff/390848bd05771aefa0ab73c93720b716 to your computer and use it in GitHub Desktop.
Save amiroff/390848bd05771aefa0ab73c93720b716 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Metin Emiroğlu
email = [email protected]
[alias]
di = diff
dc = diff --cached
st = status -s
ci = commit -v
co = checkout
br = branch
lg = log -p
pr = pull --rebase
gr = log --all --graph --decorate --oneline
[color]
ui = auto
branch = auto
diff = auto
interactive = 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
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
autocrlf = false
editor = code --wait
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore_global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment