Option to remove git credential config options from global git config in devcontainer #10587
Labels
containers
Issue in vscode-remote containers
feature-request
Request for new features or functionality
Milestone
I do not know if this was previously discussed here in the issues. If so, feel free to close.
The devcontainers extension forwards the git credentials configuration by creating the following config in my devcontainer's global git config:
However, when I have custom global git configs á la:
they are retained in the global git config.
However, the paths to the git-credentials plugins referenced there are not accessible from within the devcontainer.
Is there an option to make the devcontainer remove these other git credential configurations from global git config file?
If not, is there a good reason not to remove them?
And lastly: Is there an easy way to script the removal of these sections? I'm thinking of something like a postCreate hook in devcontainer.json or so.
Example error message which is from my NixOS devcontainer setup each time I pull or push something:
The text was updated successfully, but these errors were encountered: