.gitconfig: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 3: Line 3:


=Overview=
=Overview=
The configuration file that keeps the global configuration values, those manipulated with <code>--global</code> option.
<code>~/.gitconfig</code> configuration applies to a specific user, and it is read and written by <code>git config --global [...]</code>


=Example=
=Example=

Revision as of 22:21, 9 January 2024

Internal

Overview

~/.gitconfig configuration applies to a specific user, and it is read and written by git config --global [...]

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