Reputation: 16267
Where are these settings stored in windows 8?
Not in C:\Users\[user]\.gitconfig
apparently.
Upvotes: 1
Views: 85
Reputation: 1029
Try using running echo $HOME
in "git bash", it should give you its home directory (which might be what you're looking for).
Upvotes: 0
Reputation: 1323203
There are store:
<git>\etc\gitconfig
): system config%HOME%\.gitconfig
(global config), and id you are using git-cmd.bat
, HOME
is set to %USER_PROFILE%
Note that you need to define core.autocrlf yourself because <git>\etc\gitconfig
defines it by default to true.
git config --global core.autocrlf false
(and while there are cases where core.autocrlf
can help, I prefer setting it to false and working with .gitattributes core.eol
directives)
Upvotes: 1