Skip to content

Commit

Permalink
fix: gitconfig
Browse files Browse the repository at this point in the history
rebase = merges

Signed-off-by: Bryan Dady <bryan@dady.us>
  • Loading branch information
bcdady committed Dec 26, 2024
1 parent 9cc5efe commit b1e1cb1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions private_dot_gitconfig.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -65,28 +65,28 @@
aliases = config --get-regexp '^alias\\.'

[user]
[credential]
helper = cache
name = Bryan Dady
[credential]
# https://learn.microsoft.com/en-us/azure/devops/repos/git/git-config?view=azure-devops&tabs=git-command-line#credential-helper
# helper = store
helper = store
[init]
defaultBranch = main
[pull]
# https://github.com/git/git/commit/66713ef3b00933755cdeff1ae823dda7b5843640
rebase = preserve
rebase = merges
[core]
# https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings
# On Linux, use "input"
autocrlf = input
[diff]
# Also: EDITOR is probably set in env
{{ if eq .chezmoi.os "darwin" }}
{{- if eq .chezmoi.os "darwin" }}
guitool = code -r
tool = code -rmeld
{{ else if eq .chezmoi.os "linux" }}
{{- else if eq .chezmoi.os "linux" }}
guitool = meld
tool = meld
{{ end }}
{{- end }}
guitool = meld
tool = meld
[rebase]
Expand All @@ -97,17 +97,17 @@
[http]
# for macOS, this should maybe be updated to openssl
# for Windows, this should be updated to schannel
{{ if eq .chezmoi.os "darwin" }}
{{- if eq .chezmoi.os "darwin" }}
sslBackend = openssl
{{ else if eq .chezmoi.os "linux" }}
{{- else if eq .chezmoi.os "linux" }}
sslBackend = gnutls
{{ end }}
{{- end }}
[merge]
{{ if eq .chezmoi.os "darwin" }}
{{- if eq .chezmoi.os "darwin" }}
tool = code
{{ else if eq .chezmoi.os "linux" }}
{{- else if eq .chezmoi.os "linux" }}
tool= meld
{{ end }}
{{- end }}
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
Expand Down

0 comments on commit b1e1cb1

Please sign in to comment.