| ▲ | apsurd 8 hours ago | |||||||||||||||||||||||||||||||||||||
OT: Your visual on "stacked PRs" instantly made me understand what a stacked PR is. Thank you! I had read about them before but for whatever reason it never clicked. Turns out I already work like this, but I use commits as "PRs in the stack" and I constantly try to keep them up to date and ordered by rebasing, which is a pain. Given my new insight with the way you displayed it, I had a chat with chatGPT and feel good about giving it a try: | ||||||||||||||||||||||||||||||||||||||
| ▲ | abhinavg 4 hours ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||
If you’re interested in exploring tooling around stacked PRs, I wrote git-spice (https://abhinav.github.io/git-spice/) a while ago. It’s free and open-source, no strings attached. | ||||||||||||||||||||||||||||||||||||||
| ▲ | Griffinsauce 8 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||
If you're rebasing a lot, definitely set up rerere (reuse recorded solution) - it improves things enormously. Do make sure you know how to reset the cache, in case you did a bad conflict resolution because it will keep biting you. Besides that caveat it's a must. | ||||||||||||||||||||||||||||||||||||||
| ▲ | byproxy 8 hours ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||
Isn’t this just “Gitflow”? https://www.atlassian.com/git/tutorials/comparing-workflows/... | ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||