Skip to content

Instantly share code, notes, and snippets.

@ochoarobert1
Last active July 11, 2023 12:51
Show Gist options
  • Save ochoarobert1/d8a9290450186da08d408661cda57225 to your computer and use it in GitHub Desktop.
Save ochoarobert1/d8a9290450186da08d408661cda57225 to your computer and use it in GitHub Desktop.
gitconfig modular config
# in the modular files, add only [user] properties
[user]
name = Your Name
email = youremail@gmail.com
[winUpdater]
recentlySeenVersion = 2.25.0.windows.1
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[init]
defaultBranch = master
[core]
sshCommand = ssh.exe
longpaths = true
autocrlf = input
[credential]
helper = cache
[safe]
directory = directory/to/be/checked
[includeIf "gitdir:absolute/directory/to/compare1"]
path = .profile1
[includeIf "gitdir:absolute/directory/to/compare2"]
path = .profile2
[includeIf "gitdir:absolute/directory/to/compare3"]
path = .profile3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment