Hello graphite team, I have a very specific workfl...
# how-do-i
d
Hello graphite team, I have a very specific workflow. Previously to using graphite, I created git worktrees, and then on each worktree, opened a coding agent such as claude code. I then later rebased each of these respective branches off each other. I need worktrees since I want the agents to work independently off each other, and later, I usually rebased the branches of these worktrees onto main. With graphite, I am able to track worktrees. However, I need to operate them independently. That is, I cannot for example track the branch the worktree I am on while on my main branch. I need to actually go to that worktree. Is it possible to make it such that I can track worktrees just as if they were normal branches using graphite?
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
d
Copy code
devinat1@Devins-MacBook-Pro circleback % gt ls
◯  integration-test-setup
◉  main
devinat1@Devins-MacBook-Pro circleback % gt track       
main is already tracked.
devinat1@Devins-MacBook-Pro circleback % gt co integration-test-setup
ERROR: Command failed with error exit code 128:
git switch -q integration-test-setup

fatal: 'integration-test-setup' is already checked out at '/Users/devinat1/Desktop/circleback.worktrees/integration-test-setup'
The problem is essentially that I cannot stack from the worktree, without first going to the worktree. This creates a bad experience where I cannot work with multiple worktrees easily.
Similarly, I can only move the branch if I am on that worktree.
p
hey Devin, that's not possible today but it is on our team's radar to continue iterating on `gt`'s support for git worktrees, specifically for agentic workflows. I'll append your request to our internal tracking issue for git worktree support.
d
Awesome thank you!