Hey, just started to use Antigravity and I was curious why do I have such many untracked files despite me having the Git files tracked. Turns out it grabs the .cursor\worktrees\ProjectName\branchName into the Source Control.
They were initially all expanded, that’s why it got me confused. Idk what’s the right way to approach this, but hiding them as the Cursor does or making them closed on the start would be nice!
Hello @JUNVELD,
Antigravity fully supports Git Worktrees as valid workspaces, although the management of them currently relies on the terminal rather than a native UI element. You could try the following:
-
Open the integrated terminal (Ctrl/Cmd + ~) and create your worktree as usual:
git worktree add ../path-to-worktree <branch-name>
-
Use File > Open Folder to open that specific worktree directory. The Source Control panel will correctly recognize the detached HEAD and index specific to that worktree, independent of your main repository folder.
I kinda “don’t want to see them“, I don’t really understand why would you propose me to open them, but thank you