2024-06-04 17:25:06 +02:00
|
|
|
# ~/.gitconfig
|
|
|
|
|
2024-09-27 20:49:21 +02:00
|
|
|
[includeIf "gitdir:~/src/work/"]
|
2024-06-04 17:25:06 +02:00
|
|
|
path = .gitconfig-work
|
2024-09-27 20:49:21 +02:00
|
|
|
[includeIf "gitdir:~/src/private/"]
|
2024-06-04 17:25:06 +02:00
|
|
|
path = .gitconfig-private
|
|
|
|
|
|
|
|
# Special Cases
|
2024-06-04 17:26:00 +02:00
|
|
|
[includeIf "gitdir:/Users/beisel/.local/share/chezmoi/"]
|
2024-06-04 17:25:06 +02:00
|
|
|
path = .gitconfig-private
|
|
|
|
|
2024-06-14 08:38:15 +02:00
|
|
|
# Fallthrough
|
|
|
|
[user]
|
|
|
|
email = florian.beisel@intersport.de
|
|
|
|
name = Florian Beisel
|
|
|
|
[gpg]
|
|
|
|
format = ssh
|
2024-06-20 13:43:04 +02:00
|
|
|
[core]
|
|
|
|
excludesfile = /Users/beisel/.gitignore_global
|
|
|
|
autocrlf = input
|
|
|
|
[push]
|
|
|
|
autoSetupRemote = true
|
2024-09-27 20:49:21 +02:00
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
|
|
|
[alias]
|
|
|
|
accept-ours = "!f() { git checkout --ours -- \"${@:-.}\"; git add -u \"${@:-.}\"; }; f"
|
|
|
|
accept-theirs = "!f() { git checkout --theirs -- \"${@:-.}\"; git add -u \"${@:-.}\"; }; f"
|