-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #508 from desktop/custom-gitconfig
Add a custom "system level" gitconfig
- Loading branch information
Showing
5 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This is dugite's own custom system-wide gitconfig file for macOS and Linux. | ||
# On Windows we ship a contained Git environment (minGit) where we can control | ||
# the system-level configuration but on macOS and Linux /etc/gitconfig is used | ||
# as the system-wide configuration file and we're unable to modify it. | ||
# | ||
# So in order to be able to provide our own sane defaults that can be overriden | ||
# by the user's global and local configuration we'll tell Git that this file | ||
# is the system level config (and import the actual system level config) | ||
[include] | ||
path=/etc/gitconfig | ||
|
||
[credential "https://dev.azure.com"] | ||
useHttpPath = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters