rugged icon indicating copy to clipboard operation
rugged copied to clipboard

Support Git Worktree Operations

Open vovimayhem opened this issue 7 years ago • 3 comments

Is there any plan to support git worktree operations? Is it on the scope of this project? How can I implement that? (Any leads/tips?)

vovimayhem avatar Apr 08 '17 16:04 vovimayhem

Keeping an eye on libgit2/libgit2#3436 :)

vovimayhem avatar Apr 08 '17 21:04 vovimayhem

Looks like it got merged!

ioquatix avatar Jul 09 '17 05:07 ioquatix

Any possibilities now that the referenced PR is merged? I'm using Pronto which uses Rugged, and it'd be nice to be able to run it from a worktree. I think a nice first step would be if Rugged would detect the git directory when inside a worktree (it's just inside the .git file), though I don't know whether that's something that could be inherited from libgit2 or would need to be implemented separately in Rugged.

This is probably not a super commonly used feature of git but I find it very helpful for checking out multiple branches at once. Thanks!

ibrahima avatar Nov 26 '18 19:11 ibrahima