microsoft / vscode-remote-try-rust

Rust sample project for trying out Dev Containers
https://aka.ms/vscode-remote/containers/getting-started
MIT License
282 stars 150 forks source link

git push does not work inside dev container #31

Open suiluj opened 1 year ago

suiluj commented 1 year ago

Hello,

thanks for providing the rust dev container. I only have one problem:

Inside the dev container I cannot push my git commits. (This works on the same computer/configuration with other dev containers like Go or Python.

I am using Windows 10, wsl2 ubuntu, docker desktop.

Git is configured correctly with the Git Credential Manager (GCM). (The link to wsl2 is also set up correctly; it is working with other dev containers).

At the moment I just do a terminal git push outside of vs code but of course it would be nicer to just use the UI element in vscode inside the dev container window.

Thanks for improving this in the future if possible.