1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-09-28 21:34:42 +02:00
dotfiles/git/gitconfig
Eric Teunis de Boone 0c168bdc8d Git lg for fancy log
Standard esson user is etdeboone
2020-04-14 16:34:02 +02:00

24 lines
807 B
Text

# This is Git's per-user configuration file.
[user]
name = Eric Teunis de Boone
email = ericteunis@gmail.com
[gui]
editor = geany
[push]
default = matching
[diff "pdf"]
textconv = pdf2txt
[core]
excludesfile = ~/.gitignore_global
[color]
ui = auto
[merge]
conflictstyle = diff3
[branch]
autosetuprebase = always
[diff]
tool = vimdiff
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"