Skip to content

Instantly share code, notes, and snippets.

@zbalkan
Last active February 29, 2024 17:33
Show Gist options
  • Save zbalkan/28a8b7e1d04c827dbbc2b2669a77d5e7 to your computer and use it in GitHub Desktop.
Save zbalkan/28a8b7e1d04c827dbbc2b2669a77d5e7 to your computer and use it in GitHub Desktop.
My gitconfig
[user]
name = Zafer Balkan
email = [email protected]
username = zbalkan
signingkey = EECD6A2984E3EEE3
[init]
defaultbranch = master
[core]
pager = delta
autocrlf = true
fscache = true
symlinks = false
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
[diff]
tool = vsdiffmerge
algorithm = histogram
[diff "astextplain"]
textconv = astextplain
[difftool]
prompt = true
[difftool "vsdiffmerge"]
cmd = \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Preview\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //t
keepBackup = false
[http]
sslbackend = openssl
[commit]
gpgsign = true
verbose = true
[tag]
gpgsign = true
[gpg]
program = C:\\Program Files (x86)\\GnuPG\\bin\\gpg.exe
[merge]
tool = vsdiffmerge
conflictStyle = zdiff3
[mergetool]
prompt = true
[mergetool "vsdiffmerge"]
cmd = \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsdiffmerge.exe\" \"$REMOTE\" \"$LOCAL\" \"$BASE\" \"$MERGED\" //m
keepBackup = false
trustExitCode = true
[safe]
directory = D:/Repos/*
directory = D:/Repos
[push]
autoSetupRemote = true
autoSetupRemote = true
followTags = true
[help]
autocorrect = 10
[transfer]
fsckobjects = true
[fetch]
fsckobjects = true
[receive]
fsckobjects = true
[branch]
sort = -committerdate
[credential]
helper = cache --timeout 7200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment