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

45 lines
1.2 KiB
Text
Raw Permalink 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]
2024-06-26 14:57:13 +02:00
excludesfile = ~/.config/git/ignore_global
attributesfile = ~/.config/git/attributes
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
[diff "pandoc"]
2022-03-30 18:12:24 +02:00
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
2022-03-30 18:26:04 +02:00
s = status --short
st = status
pushf = push --force-with-lease # Look mom, no --force
2020-05-04 19:21:59 +02:00
dif = diff
2022-03-30 18:26:04 +02:00
diffc = diff --cached
difc = diff --cached
alias = "! git config --get-regexp ^alias\\. "