devcontainer: reuse host git identity
so git never prompts for user.name / user.email
This commit is contained in:
parent
8e3a9f2cbd
commit
1054f3fd6b
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user