diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4aa9ce9..cd82449 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -52,8 +52,10 @@ }, // Reuse host Claude config (auth, settings) — no re-login needed inside container. + // Reuse host git identity so git never prompts for user.name / user.email. "mounts": [ - "source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind,consistency=cached" + "source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind,consistency=cached", + "source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached" ], // Forward the default HTTP port so `make run` is reachable from the host.