<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/managing-multiple-claude-code-sessions-without-worktrees-a0pk0snc3" -->

---
title: Managing Multiple Claude Code Sessions Without Worktrees
description: GitButler now integrates with Claude Code&#x27;s lifecycle hooks to automatically manage multiple simultaneous AI coding sessions in a single working directory....
canonical: https://daily.dev/posts/managing-multiple-claude-code-sessions-without-worktrees-a0pk0snc3
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Managing Multiple Claude Code Sessions Without Worktrees | daily.dev
og:description: GitButler now integrates with Claude Code&#x27;s lifecycle hooks to automatically manage multiple simultaneous AI coding sessions in a single working directory....
og:url: https://daily.dev/posts/managing-multiple-claude-code-sessions-without-worktrees-a0pk0snc3
og:image: https://api.daily.dev/og/posts/A0pK0SnC3.png
og:image:alt: Managing Multiple Claude Code Sessions Without Worktrees
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Managing Multiple Claude Code Sessions Without Worktrees

**[GitButler Blog](https://daily.dev/sources/gitbutler)** · 3 min read · 0 upvotes · 0 comments

## Summary

GitButler now integrates with Claude Code's lifecycle hooks to automatically manage multiple simultaneous AI coding sessions in a single working directory. Instead of requiring git worktrees or separate checkouts, GitButler uses session IDs from Claude Code hooks to automatically create and assign work to separate branches per session. When a chat completes, GitButler commits the work, stores the prompt, and optionally rewrites the commit message using AI. The result is one commit per chat round and one branch per Claude Code session, with no merge conflicts and no worktree bootstrapping overhead. The feature is available in the newest GitButler release via an experimental CLI.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.gitbutler.com/parallel-claude-code>

---

Tags: [#git](https://daily.dev/tags/git), [#ai-coding](https://daily.dev/tags/ai-coding), [#claude-code](https://daily.dev/tags/claude-code)

[View this post on daily.dev](https://daily.dev/posts/managing-multiple-claude-code-sessions-without-worktrees-a0pk0snc3)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Managing Multiple Claude Code Sessions Without Worktrees","url":"https://daily.dev/posts/managing-multiple-claude-code-sessions-without-worktrees-a0pk0snc3","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/managing-multiple-claude-code-sessions-without-worktrees-a0pk0snc3"},"datePublished":"2026-07-26T07:48:21.966Z","dateModified":"2026-07-26T07:49:57.564Z","description":"GitButler now integrates with Claude Code's lifecycle hooks to automatically manage multiple simultaneous AI coding sessions in a single working directory....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/deece3906ef0f2812b181080c8e57fbc?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/deece3906ef0f2812b181080c8e57fbc?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"GitButler Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"GitButler Blog","logo":"https://media.daily.dev/image/upload/s--LrHsyt2T--/f_auto/v1692632054/squad_placeholder_sfwkmj","url":"https://daily.dev/sources/gitbutler"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/managing-multiple-claude-code-sessions-without-worktrees-a0pk0snc3","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"git,ai-coding,claude-code","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"GitButler Blog","item":"https://daily.dev/sources/gitbutler"},{"@type":"ListItem","position":3,"name":"Managing Multiple Claude Code Sessions Without Worktrees"}]}
```

