You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
I am trying to integrate Source Link into our development process. Our repositories are hosted in a way that public access is denied. The only way to make Visual Studio include some credentials into GET request is by using option Fall back to Git Credential Manager authentication for all Source Link requests. It works fine. If credentials exist for given hostname, GCM provides them. If not, GCM prompts for user-pass prompt and stores them for later use in Windows Credential Manager.
Now i want to simplify and automate set up process for developers. Instead of manually going into Windows Credential Manager i thought it would be possible to do something like this:
This gets stored in Windows Credential Manager like this:
Address: git:https://USER@HOST
Username: USER
Password: ACCESS_TOKEN
Visual Studio does not recognize this! It does work if Address part is git:https://HOST, but git credential-manager store appends USER@ and i can not find a way around this behavior.
I am trying to integrate Source Link into our development process. Our repositories are hosted in a way that public access is denied. The only way to make Visual Studio include some credentials into GET request is by using option
Fall back to Git Credential Manager authentication for all Source Link requests
. It works fine. If credentials exist for given hostname, GCM provides them. If not, GCM prompts for user-pass prompt and stores them for later use in Windows Credential Manager.Now i want to simplify and automate set up process for developers. Instead of manually going into Windows Credential Manager i thought it would be possible to do something like this:
git credential-manager store < credentials.txt
where credentials.txt is:
This gets stored in Windows Credential Manager like this:
Visual Studio does not recognize this! It does work if Address part is
git:https://HOST
, butgit credential-manager store
appendsUSER@
and i can not find a way around this behavior.Simple way to reproduce this:
store.txt
:get.txt
:git credential-manager store < store.txt
git credential-manager get < get.txt
Expected behavior:
USER@
partstore
andget
work for given protocol+hostMy version info:
The text was updated successfully, but these errors were encountered: