# ~/.gitconfig [includeIf "gitdir:~/src/work/"] path = .gitconfig-work [includeIf "gitdir:~/src/private/"] path = .gitconfig-private # Special Cases [includeIf "gitdir:/Users/beisel/.local/share/chezmoi/"] path = .gitconfig-private # Fallthrough [user] email = florian.beisel@intersport.de name = Florian Beisel [gpg] format = ssh [core] excludesfile = /Users/beisel/.gitignore_global autocrlf = input [push] autoSetupRemote = true [init] defaultBranch = main [alias] accept-ours = "!f() { git checkout --ours -- \"${@:-.}\"; git add -u \"${@:-.}\"; }; f" accept-theirs = "!f() { git checkout --theirs -- \"${@:-.}\"; git add -u \"${@:-.}\"; }; f"