When you set a global configuration option for git on Windows, where does it get written to? [duplicate]
问题 This question already has answers here : Where does git config --global get written to? (16 answers) Closed 6 years ago . If you set something like this on Windows: git config --global core.autocrlf false Where is this global setting getting written to? 回答1: It will write the values in a file called .gitconfig, unless you specify another name with the ' --file ' option git config --global --file myFile key value Note: the environment variable GIT_CONFIG can also be used to specify another