microsoft / microsoft/vscode-remote-release

.gitconfig not copied if dev container action creates a .gitconfig

Open
#11,023 5 comments 0 reactions 1 assignee View on GitHub

@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:

  1. Run git config --global codespaces-theme.hide-status 1 in postCreateCommand
  2. Start dev container
  3. .gitconfig settings 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.