From 4fb954e896116ca25877592e3e910b313ae5d1f1 Mon Sep 17 00:00:00 2001 From: ivinokur Date: Wed, 19 Feb 2025 16:58:26 +0200 Subject: [PATCH] fixup! Add Microsoft DevAzure Server notes --- .../pages/using-a-git-provider-access-token.adoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/modules/end-user-guide/pages/using-a-git-provider-access-token.adoc b/modules/end-user-guide/pages/using-a-git-provider-access-token.adoc index 737adef00e..c1aef1fe17 100644 --- a/modules/end-user-guide/pages/using-a-git-provider-access-token.adoc +++ b/modules/end-user-guide/pages/using-a-git-provider-access-token.adoc @@ -116,6 +116,20 @@ ____ EOF ---- ==== +. Azure DevOps Server. If you are using Azure DevOps Server, you must also modify the xref:mounting-git-configuration.adoc[workspace's +gitconfig] with the following section: ++ +``` +[http] + extraheader = "Authorization: Basic " +``` +To generate the key-value pair, use the following command: ++ +``` +echo -n "extraheader = Authorization: Basic "$(printf ":%s" | base64) +``` ++ +see link:https://learn.microsoft.com/en-us/azure/devops/repos/git/auth-overview?view=azure-devops&tabs=Linux#personal-access-tokens[the documentation page] for more information. .Verification