.gitconfig: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
=Example= | =Example= | ||
<syntaxhighlight lang=' | <syntaxhighlight lang='.git'> | ||
[filter "lfs"] | [filter "lfs"] | ||
required = true | required = true |
Revision as of 22:43, 9 January 2024
Internal
Overview
~/.gitconfig
configuration applies to a specific user, and it is read and written by git config --global [...]
An equivalent file is .config/git/config
.
Example
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[user]
name = Ovidiu Feodorov
email = ovidiu@example.com
[push]
autoSetupRemote = true