![]() Hopefully, people find this information useful. If you want machine wide settings, use the "portable" configuration file, otherwise choose the "global" or "local" configuration files. It see the recommendation in the blog linked is to modify the "system" or "installation" specific configuration settings, which is fine but users should expect that other installations of Git would not absorb said settings. The highest priority configuration settings are in the "local" configuration, which can usually be found at ".git\config". Starting with the use specific values known as "global" configuration, which can be found at "%UserProfile%.gitconfig", we find the "user editable" configuration files. Both of these configuration file, generally require elevated privileges to modify. One priority level us the installation specific configuration settings known as "system", which live at "\mingw64\etc\gitconfig". At the lowest level is the machine specific configuration settings known as "portable" and lives a "%ProgramData%\Git\config". This package was approved as a trusted package on. Git for Windows supports four levels of configuration. I think it is important to post this quote: Windows Git configuration file locations () I pulled the image from an article I wrote on the topic. Repository-specific config files are found under the. Of course, seeing is believing, so here's an image showing each file and each location.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |