vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Option to not overwrite git credential helper when attaching to a running container

Open sam-mfb opened this issue 1 year ago • 0 comments

When attaching to a running container, it appears that this extension will always clobber the helper contained in the container's .gitconfig file by calling something like:

git config --system --replace-all credential.helper '!f() { /home/vscode/.vscode-server/bin/e170252f762678dec6ca2cc69aba1570769a5d39/node /tmp/vscode-remote-containers-426405cb-e571-47c7-910e-e852e07fec6f.js git-credential-helper $*; }; f'

It would be nice if there was an option to disable that so that one could use VS Code to work in a Docker container, but still use the credential helpers already set up in that Docker container (i.e., NOT use the extension's credential forwarding capabilities).

sam-mfb avatar Apr 23 '24 19:04 sam-mfb