@@ -312,6 +312,11 @@ public static bool TrySetRequiredGitConfigSettings(Enlistment enlistment) |
|
|
312 |
312 |
|
313 |
313 |
// Disable the builtin FS Monitor in case it was enabled globally. |
314 |
314 |
{ "core.useBuiltinFSMonitor", "false" }, |
|
315 |
+ |
|
316 |
+// Set the GCM credential method to use OAuth tokens. |
|
317 |
+// See https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/configuration.md#credentialazreposcredentialtype |
|
318 |
+// for more information. |
|
319 |
+{ "credential.azreposCredentialType", "oauth" }, |
315 |
320 |
}; |
316 |
321 |
|
317 |
322 |
if (!TrySetConfig(enlistment, requiredSettings, isRequired: true)) |