1

Where are these settings stored in windows 8?

enter image description here

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

apparently.

u123
  • 15,603
  • 58
  • 186
  • 303

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,262,500
  • 529
  • 4,410
  • 5,250
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
  • 999
  • 8
  • 16