Windows will store it in $HOMEDRIVE$HOMEPATH\.gitconfig
Which, depending on how things are mapped will likely be your %USERPROFILE%, or C:\Users\MyLogin\.gitconfig on Windows 7.
You can check where Git has it located by using the command below, it will open up the file in your default editor.
git config --global --edit
When executing that I get the following error "error: cannot spawn gitpad: no such file or directory. error: unable to start editor 'gitpad'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Turns out I needed to update the global core.editor (http://stackoverflow.com/a/773973/1366033) using `git config core.editor notepad`
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Windows will store it in %USERPROFILE%\.gitignore
You can check where Git is set to look for the global ignore file with:
git config --get core.excludesfile
You can also set the global ignore with:
git config --global core.excludesfile "%USERPROFILE%\.gitignore"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.