Open floork opened 8 months ago
Hey @floork ! We had not considered bare checkouts. I would love to hear more about your use case
Hi @krlvi,
Thanks for reaching out! Let me give you some more insight into how I work.
So, I'm all about using worktrees to tackle issues head-on and keep things organized. They've been a game-changer for me in managing my projects effectively.
But then I stumbled upon Gitbutler and its virtual branches feature got me intrigued. I see a lot of potential there, especially for handling feature development within those feature branches.
Here's the thing: if I could create branches directly in bare repositories with Gitbutler, it would take my workflow to the next level. It's like having the best of both worlds – the flexibility of worktrees and the power of virtual branches, all in one place.
So yeah, that's where I'm coming from. I hope that gives you a clearer picture of why I'm excited about this idea!
Just as an update, the error messages improved since then.
As of Version 0.11.3 (20240419.070253) , it looked like this:
And one of the next releases should show something like this to make clear what's going on.
Supporting a bare repository with worktrees is definitely an interesting feature though! As long as only one worktree is checking out the gitbutler/integration
branch, it should have a chance to work.
Great! Thanks for the affort
Hey Gitbutler Team,
I ran into an issue trying to open a branch in a bare repository using Gitbutler. Here's the error message I got:
It'd be super helpful if you could make it possible to create branches directly in bare repositories. That would make my workflow a lot smoother.
Thanks a bunch!