.gitconfig: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
=Overview= | =Overview= | ||
<code>~/.gitconfig</code> configuration applies to a specific user, and it is read and written by <code>git config --global [...]</code> An equivalent file is <code>[[.config/git/config]]<code>. | <code>~/.gitconfig</code> configuration applies to a specific user, and it is read and written by <code>git config --global [...]</code> An equivalent file is <code>[[.config/git/config]]</code>. | ||
=Example= | =Example= |
Revision as of 22:23, 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