1

Where are these settings stored in windows 8?

enter image description here

Not in C:\Users\[user]\.gitconfig

apparently.

u123
  • 14,161
  • 51
  • 160
  • 272

2 Answers2

1

There are store:

  • in the git installation folder itself (<git>\etc\gitconfig): system config
  • in %HOME%\.gitconfig (global config), and id you are using git-cmd.bat, HOME is set to %USER_PROFILE%
  • in your local repo (.git/config)

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)

Community
  • 1
  • 1
VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755
0

Try using running echo $HOME in "git bash", it should give you its home directory (which might be what you're looking for).

JBarberU
  • 970
  • 8
  • 16