Claude Code + Docker + git worktrees = parallel AI agents with zero permission prompts.

Key decisions:
→ Docker socket mount (not full DinD)
→ Same-path mounting for compose compatibility
→ Host-side worktree creation
→ Read-only credential mounts
→ Entrypoint patches config, strips auth

One Dockerfile. One launcher. Full autonomy.

#ClaudeCode #Docker #GitWorktree #DevTooling

git worktreeとCursorで爆速並列開発!複数ブランチを同時に作業するワークフロー - Qiita

はじめに ソーイ株式会社 村上です。 開発していると同時に機能を実装したいと思うことが多いと思います。 featureブランチで開発中に、本番の緊急バグ対応が入った git stash して git checkout して、対応して、また戻る…を繰り返している Cur...

Qiita
git-worktree-runner (gtr) で実現するAI時代の並列開発 - Qiita

株式会社シンシアでは、実務未経験のエンジニアの方や学生エンジニアインターンを採用し一緒に働いています。 ※ シンシアにおける働き方の様子はこちら シンシアでは、年間100人程度の実務未経験の方が応募し技術面接を受けます。その経験を通し、実務未経験者の方にぜひ身につけて...

Qiita

AI 코딩 에이전트 여러 개를 동시에 돌려도 안전한 이유: Vibe Kanban의 워크플로우 혁신

여러 AI 코딩 에이전트를 충돌 없이 병렬 실행하는 오픈소스 플랫폼 Vibe Kanban. Git worktree 기반 격리와 통합 리뷰로 개발자의 역할을 코더에서 오케스트레이터로 전환합니다.

https://aisparkup.com/posts/7955

Check the right answer here 👉 https://www.youtube.com/post/Ugkx8mz3Ubt8VEgRXwGfG1y_7AlYHgTuB4np

Ready to stop cloning around and start working smarter 🚀?

Go check out the SmartGit Download Page 👉 https://www.smartgit.dev/ to get started, or dive deeper into our Git How To Guide: https://blog.syntevo.com/ to master more pro tips!

#Git #GitWorktree #ContextSwitching #DevProductivity #CleanCode

The next step in my git worktree learning journey: syncing diverged branches.

I created a worktree for a feature while cleaning up my main branch history. After squashing/reordering commits, they diverged. How do I bring the cleaned-up changes into the worktree without affecting the main branch?

Lesson learned: the "thing" I am merging into is the branch, not the worktree. The worktree is merely a container for the second branch; a filesystem location where I may check out and work on another branch.

This means that the two branches may be synced using the same technique as if they were in the same workspace, typically using a merge or a rebase.

However, all the interactive rebasing I did on the main branch broke the parent-child relationship between the two branches. Therefore, rebasing is the more appropriate choice. I want to replay the feature commits on top of the cleaned-up branch so it's as if I wrote the feature on top of the cleaned-up branch to start with.

```bash
cd worktree
git checkout feature-branch
git rebase main-branch
```

#gitworktree #git #learning #TIL #devlife

My git worktree learning journey continues.

After setting up a worktree to work on multiple features, I reorganized my PARA folders (Renamed Projects → 01-Projects, etc.). This broke the worktree with “not a git repository” errors when I tried to add another feature branch.

Quick fix: Just edit the .git file in the worktree folder to update the old path. Much easier than recreating them!

```bash
# Navigate to the broken worktree
cd /path/to/your/worktree

# Check current path reference
cat .git

# Edit the .git file to update the path
nano .git
# Change from: gitdir: /old/PARA/path/project/.git/worktrees/worktree-name
# Change to: gitdir: /new/PARA/path/p
```

#gitworktree #learning #TIL #PARA #devlife

I want to start writing the next feature even though I'm in the midst of cleaning up a messy commit history for the current feature. I think it's time to learn how to use git worktrees.

#gitworktree #devlife #learning #softwaredev #Trendwatch

So I've just discovered git worktrees and it seems like a feature worth using. After playing for a while, a couple of questions:

1) what layout of directories do you prefer? Still trying to find a scheme I like.

2) do you use a bare clone as a base? I see the logic but I've heard it can create some funnies with remote branches

Thanks

#git #worktree #gitworktree #GitWorkflow

If you're going to make several patches over a time period, but they aren't really related, how do you do it best with #git? I mean, I always want the commit to be on some recent commit to master. I don't know exactly when each will be merged, but probably not in the order I created them.

Let's say you have commit A B C D, all of which are on master M. All of these are submitted upstream. Then you work on feature E, which builds on B. How do you do that? I mean, commit B could be rejected, so feature E needs to accommodate for that.

Right now I do a huge git reset origin/master --hard then apply patch dance which is kinda tedious. Branches may help for some of it, maybe #gitworktree can.

Hmm perhaps worktree is the answer?