1
0
Fork 0
mirror of https://github.com/kastdeur/dotfiles.git synced 2024-12-22 09:13:33 +01:00
dotfiles/git/config

36 lines
1 KiB
Text
Raw Normal View History

# This is Git's per-user configuration file.
[user]
name = Eric Teunis de Boone
2020-04-14 17:15:27 +02:00
email = ericteunis@deboone.nl
[gui]
editor = geany
[push]
default = matching
[core]
2020-04-16 20:42:52 +02:00
excludesfile = ~/.config/git/ignore
2016-10-12 10:27:01 +02:00
[color]
ui = auto
2022-03-30 18:24:23 +02:00
[color "status"]
# use different color than untracked and unmerged paths have
changed = yellow
[merge]
conflictstyle = diff3
2017-08-26 13:30:58 +02:00
[branch]
autosetuprebase = always
[diff]
2022-03-30 18:12:24 +02:00
mnemonicPrefix = true
2017-08-26 13:30:58 +02:00
tool = vimdiff
2022-03-30 18:12:24 +02:00
[diff "rst"]
textconv = pandoc --to=rst
[diff "pdf"]
textconv = pdf2txt
[alias]
2020-05-04 19:21:59 +02:00
# Short Fancy Logs
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)'
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)'
2020-05-04 19:21:59 +02:00
lg = !"git lg1"
lga = !"git lg --all"
2020-05-04 19:21:59 +02:00
dif = diff
alias = "! git config --get-regexp ^alias\\. "