Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.gitconfg [user] field #3

Closed
srustamo opened this issue Apr 25, 2017 · 2 comments
Closed

.gitconfg [user] field #3

srustamo opened this issue Apr 25, 2017 · 2 comments

Comments

@srustamo
Copy link

How do you handle the [user] field?

@blaenk
Copy link
Owner

blaenk commented Apr 25, 2017

At the end of ~/.gitconfig another file at ~/.gitconfig.local is included:

[include]
	path = ~/.gitconfig.local

this file is where I store my [user] block and other private or personal information, and I don't track it in the git repo. Also, since it's included at the end of .gitconfig, it can override any other properties set in .gitconfig.

.gitconfig.local is the same file format as .gitconfig.

I've added a note of this in 56ee30a

@srustamo
Copy link
Author

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants