Skip to content

Instantly share code, notes, and snippets.

@wavedocs
Last active June 28, 2016 18:07
Show Gist options
  • Save wavedocs/2a071ad5228c29ffdbe2 to your computer and use it in GitHub Desktop.
Save wavedocs/2a071ad5228c29ffdbe2 to your computer and use it in GitHub Desktop.
gitconfig
[user]
email = wavedocs@gmail.com
name = Nazar
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
[format]
pretty = format:%C(blue)%ad%Creset %C(yellow)%h%C(green)%d%Creset %C(blue)%s %C(magenta) [%an]%Creset
[mergetool]
prompt = false
[mergetool "mvimdiff"]
cmd="mvim -c 'Gdiff' $MERGED" # use fugitive.vim for 3-way merge
keepbackup=false
[merge]
summary = true
verbosity = 1
tool = mvimdiff
[apply]
whitespace = nowarn
[branch]
autosetupmerge = true
[push]
# 'git push' will push the current branch to its tracking branch
# the usual default is to push all branches
default = tracking
[core]
autocrlf = false
editor = vim
excludesfile = ~/.yadr/git/gitignore
[advice]
statusHints = false
[diff]
mnemonicprefix = true
[rerere]
enabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment