Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (37 sloc) 830 Bytes
# -*- mode: gitconfig; -*-
[user]
name = Fran Casas
email = nflamel@gmail.com
[color]
diff = auto
status = auto
branch = auto
[core]
excludesfile = ~/.gitignore
autocrlf = input
editor = nvim
[apply]
whitespace = fix
[format]
pretty = %C(yellow)%h%Creset %s %C(red)(%cr)%Creset
[alias]
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)an>%Creset' --abbrev-commit --date=relative
co = checkout
s = status --short -b
amend = commit --amend --no-edit
[push]
default = current
[rebase]
autosquash = true
[rerere]
enabled = true
[init]
templatedir = ~/Documents/src/dot-files/git/templates
[merge]
tool = vimdiff
[mergetool]
prompt = true
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[include]
path = ~/.gitconfig_local