From: Junio C Hamano Date: Wed, 27 Jan 2016 22:23:34 GMT Subject: Re: [PATCH v3 0/6] Split .git/config in multiple worktree setup Message-ID: In-Reply-To: <1453808685-21235-1-git-send-email-pclouds@gmail.com> Nguyễn Thái Ngọc Duy writes: > For any worktree, the new file .git/common/config is read first, then > either .git/config or .git/worktrees/xxx/config is read after. There's > no special per-worktree var list any more. Which is great. You want to > add per-worktree config vars, use "git config --local". You want to > add per-repo config vars, use (new) "git config --repo". You put a > variable in a wrong file, you're punished for it (and it's the same > today, say if you put core.worktree to /etc/gitconfig). I think this is saner than the one before.