Skip to content

Add 'worktree' command#120

Draft
jamiew wants to merge 3 commits intomainfrom
worktree
Draft

Add 'worktree' command#120
jamiew wants to merge 3 commits intomainfrom
worktree

Conversation

@jamiew
Copy link
Copy Markdown
Collaborator

@jamiew jamiew commented Sep 17, 2025

worktree command to quickly make, manage and remove git worktrees

I've been using worktrees a ton lately thanks to Claude Code. works pretty well, but interacting with worktres is also a lengthy command to do correctly and I never remember the right syntax. very git-friendly style problem

worktrees are great for running parallel Claude Code session from a single git checkout: https://docs.claude.com/en/docs/claude-code/common-workflows#run-parallel-claude-code-sessions-with-git-worktrees

new workflow command:

  • makes & tears down consistently-named worktrees $dirname-$branch
  • autocomplete branch name (in .profile)
  • make worktree from remote branch
  • updated README

@jamiew jamiew changed the title Add 'worktree' command to quickly make & remove worktrees Add 'worktree' command to quickly make & remove git worktrees Sep 17, 2025
@jamiew
Copy link
Copy Markdown
Collaborator Author

jamiew commented Sep 30, 2025

finding this quite quirky and gonna downgrade to draft for now

I like the idea but I don't love worktrees so tbd

@jamiew jamiew marked this pull request as draft September 30, 2025 14:37
@jamiew jamiew changed the title Add 'worktree' command to quickly make & remove git worktrees Add 'worktree' command Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant