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
However, when I have custom global git configs á la:
[credential "https://mydomain.org"]
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:
/nix/store/3fvqdfrjv01vgh5j22yigsbkynv2sqw2-git-credential-manager-2.5.1/bin/git-credential-manager store: 1: /nix/store/3fvqdfrjv01vgh5j22yigsbkynv2sqw2-git-credential-manager-2.5.1/bin/git-credential-manager: not found
The text was updated successfully, but these errors were encountered:
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: