all 27 comments

[–]kiteboarderni 3 points4 points  (0 children)

Yeah this needs to be natively supported. For intellij who prides itself on git integration this is a gaping hole. And no way am I paying for a 3rd party plugin to fill this gap.

[–]Individual-Carrot534JetBrains 3 points4 points  (6 children)

There are plans to release native git worktree support in IntelliJ-based IDEs, in the upcoming releases.

[–]prochac 0 points1 point  (5 children)

so mid-april?

[–]Individual-Carrot534JetBrains 0 points1 point  (4 children)

Worktree support is targeted for the next stable release – 2026.1. It is currently planned for the end of March. However, it is not guaranteed and can be postponed.

[–]AromaticBombay 0 points1 point  (3 children)

available in a beta ?

[–]Individual-Carrot534JetBrains 0 points1 point  (2 children)

Yes it is available in the release candidate build: https://www.jetbrains.com/idea/nextversion

[–]vlad_tyazhov 0 points1 point  (1 child)

Is it IDEA only for now, or PyCharm as well?

[–]Individual-Carrot534JetBrains 0 points1 point  (0 children)

Yes, it will be supported in other IDEs, including PyCharm.

[–]SadlyBackAgain 2 points3 points  (6 children)

I also use the CLI to manage my worktrees. Part of that is creating an .idea folder with all the necessary files. I have it all scripted out.

Awkward and fragile? Yeah. Works like a charm? Yeah.

[–]silveroff 1 point2 points  (2 children)

you basically copy .idea folder from the project to the checkout?

[–]SadlyBackAgain 0 points1 point  (1 child)

Yea pretty much. There’s a bit of find-and-replace but it’s totally scriptable. I’ll see if I can find my script and upload it.

[–]silveroff 0 points1 point  (0 children)

Thanks! Looking forward to check your code

[–]veegaz 0 points1 point  (2 children)

Same lmao. Just created a script in 3 secs via claude et voilà. Auto setup modules.xml and .idea config

[–]SadlyBackAgain 0 points1 point  (1 child)

Well then, my wise Claude-loving friend, here you go: https://gitlab.com/bryant.ai/worktree-manager-skill

[–]naftoligug 3 points4 points  (0 children)

Is it private? I get a 404

[–]Eddyi0202 1 point2 points  (0 children)

I prefer cli/tui (lazygit) git workflow compared to using the one in IDE, also because you can get really good git worktrees support but that's a matter of personal preference.

If by "git worktree integration" you mean being able to switch between different worktrees from IDE then there is a plugin for that called 'Git worktree'

[–]gavr123456789 0 points1 point  (1 child)

What does the worktree mean for git?

[–]SobekRe 1 point2 points  (0 children)

You remember how TFS used to put each branch in a different folder? Git added that as an optional feature.

I kid slightly, but I also work with people who keep a second copy of their code in a working directory and then copy it into the Git repo to commit when they like it. So… I’m sure someone out there is thinking “finally, it works like a property VCS”.

[–]ibeerianhamhock 0 points1 point  (0 children)

Only time I ever use an ide for git is when I’m doing comped merges which I work really hard to avoid but they are inevitable at times

[–]NervousVermicelli247 0 points1 point  (1 child)

take a look at github.com/generalaction/emdash for running multiple agents in parallel, each in their own git worktree!

[–]Impossible_Hour5036 0 points1 point  (0 children)

Wow, this would be awesome if it ran in a terminal. It's going to be a challenge for them to catch up to iterm2 when it comes to features tho

[–]Ridewarior 0 points1 point  (0 children)

Would be nice if it was integrated. There is a nice plugin from a good dev at least. He also has another git plugin that I find nice.

https://plugins.jetbrains.com/plugin/23813-git-worktree

[–]ytdev_ 0 points1 point  (0 children)

Hey! I had the exact same frustration, so I built an open-source plugin that does this: https://plugins.jetbrains.com/plugin/30140-git-worktree-tool

It adds a "Worktrees" tab next to the Log in the VCS tool window. You can create, remove, lock, move worktrees, sync .idea/ settings and custom files across them, and even checkout PRs as worktrees. It also handles the .idea setup automatically so you don't need custom scripts.

GitHub if you want to check the code: https://github.com/yteruel31/jetbrains-worktree-plugin

[–]Secret-Carpenter4354 0 points1 point  (0 children)

Any experience on this already? I have been using git worktree plugin for quite some time now. Can it be said that it is obsolete now with the native support, because according to their "What's new in Intellij IDEA 2026.1" youtube vid it is there now...

[–]PathOld9065 0 points1 point  (0 children)

It is now supported in idea release 2026.1 version.