正在加载视频...

视频加载失败

shipped another worktree improvement: opencode will show all worktrees available from git you don't have to create them through opencode anymore! use whatever tool you want to name and organize them

43,287 次观看 • 6 个月前 •via X (Twitter)

21 条评论

nexxel 的头像
nexxel6 个月前

this is really helpful

James Baldwin 的头像
James Baldwin6 个月前

this is fantastic - are there plans for jj workspace support if .jj is detected?

James Long 的头像
James Long6 个月前

not right now, other things are higher priority, but will keep it in mind

James Baldwin 的头像
James Baldwin6 个月前

understandable

Noureddine 的头像
Noureddine6 个月前

getting out of the way of how people manage git worktrees is a strong move. Clean update.

Callum 的头像
Callum6 个月前

Still need to really get to grips with worktrees. Any great tools you recommend, or does it make sense to just use opencode?

James Long 的头像
James Long6 个月前

try zed like you see in the video, it has a very seamless workflow

Elhaam 的头像
Elhaam6 个月前

Which version is this shippin in?

James Long 的头像
James Long6 个月前

@standoutcoder it's queued for the next version, so either today or tomorrow!

liamrhwld 的头像
liamrhwld6 个月前

Does this need activated somehow? Not showing up for me

Logan 的头像
Logan6 个月前

Im still looking for someone to help me with this

James Long 的头像
James Long6 个月前

we have changes coming with how it prints it all out (sorry). not sure what you mean about not following, that's going to be more of a model thing for slash commands not sure, the intent was we didn't want 20 skills loaded and to dilute the `/` with so many, but will think about it

firefoxmmx 的头像
firefoxmmx6 个月前

Great, but I have a question: how do I delete unused working trees in OpenCode? I've tried deleting them, and it works, but the information remains in the OpenCode database.

nsxdavid 的头像
nsxdavid6 个月前

You are on the beam! Claude Code just shipped their worktree improvement and it still can't specify what branch to branch off of. It's insane. Do they even have software engineers there who know modern software development practices?

DeLson 的头像
DeLson6 个月前

Thank you! Worktree support has been one thing that I've desperately wanted to see in OpenCode, especially the desktop app. Idk how it's looking there these days...

Sebastiano Mandalà 的头像
Sebastiano Mandalà6 个月前

Does someone test the windows version? Game developers use mostly windows 🤪

Vitor Lostada 的头像
Vitor Lostada5 个月前

Hey James, I'm using opencode worktree, it's amazing Is there any way we can integrate it with Zed?

James Long 的头像
James Long5 个月前

I've used it with zed! it looks like that's an unfortunate naming conflict, and we need to fix it to iterate through names until there is a free one. also, if you are in Zed already, just use Zed to create the worktrees. that should work, if not let me know

Vitor Lostada 的头像
Vitor Lostada5 个月前

Perfect! I will try it. Thanks for the amazing job

Chengrui Zhang 的头像
Chengrui Zhang6 个月前

what is the commit hash. expected feature!

joogie 的头像
joogie6 个月前

when are worktree hooks gonna be added? e.g. being able to run scripts post-create etc

相关视频