Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support useHttpPath for git credentials #1384

Open
sthussey opened this issue Nov 13, 2024 · 1 comment
Open

Support useHttpPath for git credentials #1384

sthussey opened this issue Nov 13, 2024 · 1 comment

Comments

@sthussey
Copy link

Looking to use Devpod w/ git repos hosted in Azure Devops. We are using Git Credential Manager locally to manage credentials to https origins. Repos must be configured with useHttpPath in order for the credentials to work. However when creating a new devpod, it is not possible to automatically configure git to useHttpPath along with the git credential helper using the devpod agent.

Would be nice if I could optionally tell Devpod for a new workspace to configure useHttpPath when setting up the git credential helper
for devpod agent. Something like GIT_CREDENTIAL_USEHTTPATH

The workaround now is to manually git config --global credential.useHttpPath in the VS Code terminal on a new devpod

Happy to put up a PR if this change sounds good.

@bkneis
Copy link
Contributor

bkneis commented Nov 15, 2024

Hi @sthussey thanks for reporting this! that sounds like a very useful feature to devpod, your implementation sounds good to me. If you can provide a PR i'll be happy to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants