HACKER Q&A
📣 Timothee

Alternatives to Graphite.dev to work with stacked branches with Git?


I've been using Graphite (https://graphite.dev) for a few months to manage my git branches.

Graphite promotes the use of stacked branches, which I use somewhat but not a ton. Their command line tool is very convenient to update branches and create PRs. They also have a pretty decent dashboard to do code review and manage your PRs and PRs waiting on you. I barely use it, but it's well made.

Recently, they've been moving everyone to paid team plans with a minimum of $100/month for 5 seats. My coworkers haven't shown much interest, so that would be a significant jump.

I'm wondering what alternatives I should look at. It's quite possible that a collection of git scripts might suffice, but I'd love recommendations on such scripts.

Thanks!


  👤 Hackbraten Accepted Answer ✓
I recently discovered `git rebase --update-refs` [1], which makes it much easier to work locally with stacked branches.

Before I learned that, I used to work with `git rebase` followed by a series of manual invocations of `git checkout -B`.

[1]: https://andrewlock.net/working-with-stacked-branches-in-git-...