rugged
rugged copied to clipboard
Support Git Worktree Operations
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?)
Keeping an eye on libgit2/libgit2#3436 :)
Looks like it got merged!
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!