Added gitconfig

This commit is contained in:
dbroqua 2020-06-19 13:56:11 +02:00
parent 795c130d31
commit b7b17d50c7

33
dotfiles/gitconfig Normal file
View File

@ -0,0 +1,33 @@
[user]
name = dbroqua
email = dbroqua@mousur.org
[gc]
autoDetach = false
[core]
autocrlf = input
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = /home/vjousse/dotfiles/gitignore_global
[alias]
co = commit
tree = log --pretty=oneline --graph --decorate --all
treefull = log --graph --decorate --pretty=raw --abbrev-commit
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
diffpull = diff HEAD@{1}
master = checkout master
develop = checkout develop
[diff]
tool = meld
[color]
ui = true
[color "diff"]
whitespace = red reverse
[web]
browser = firefox