microsoft / microsoft/vscode-remote-release
.gitconfig not copied if dev container action creates a .gitconfig
Open
@chrmarti is already working on this.
Since Jun 16, 2025.
bug
containers
doc
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
- VSCode Version: Version: 1.100.3
- Local OS Version: Ubuntu 22.04.5
- Remote OS Version: Debian 11
- Remote Extension/Connection Type: Dev Containers/WSL/Remote - Tunnels/VS Code Server
- Logs:
Steps to Reproduce:
- Run
git config --global codespaces-theme.hide-status 1inpostCreateCommand - Start dev container
.gitconfigsettings like name/email will not be copied into container
Does this issue occur when you try this locally?: NA
Does this issue occur when you try this locally and all extensions are disabled?: NA
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.