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
{{ message }}
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
Local OS Version: Windows 11 Pro, OS Build 22000.795
Local chip architecture: x86
Reproduces in: Remote - Containers
Name of Dev Container Definition with Issue: Custom Container Image
Using a custom made container image, the VSCode setting for copying the .gitconfig file from the host does not work when editing the .gitconfig file via postCreateCommand.
This seems to be due to the check for existing .gitconfig files happening after running: git config --global --add safe.directory ${containerWorkspaceFolder}
as part of the postCreateCommand steps.
Steps to Reproduce:
Set Remote › Containers: Copy Git Config setting to true
Set in devcontainer.json git config --global --add safe.directory ${containerWorkspaceFolder}
Suggested solutions:
Run the copy of gitconfig from host before postCreateCommand.
Add a setting natively in devcontainer.json or the vscode plugin to add add safe.directorys at the appropriate timing after copy from host.
The text was updated successfully, but these errors were encountered:
Using a custom made container image, the VSCode setting for copying the .gitconfig file from the host does not work when editing the .gitconfig file via postCreateCommand.
This seems to be due to the check for existing .gitconfig files happening after running:
git config --global --add safe.directory ${containerWorkspaceFolder}
as part of the postCreateCommand steps.
Steps to Reproduce:
git config --global --add safe.directory ${containerWorkspaceFolder}
Suggested solutions:
The text was updated successfully, but these errors were encountered: