.gitconfig

From NovaOrdis Knowledge Base
Revision as of 22:43, 9 January 2024 by Ovidiu (talk | contribs) (→‎Example)
Jump to navigation Jump to search

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