Y
Hacker News
new
|
ask
|
show
|
jobs
by
lemonwaterlime
32 days ago
You should look into `update-refs` functionality. By default git treats each branch independently, but with update-refs, git tracks pointers to branches and creates a dependency chain.
2 comments
fatuna
32 days ago
Thanks for sharing this pearl of knowledge! This is brilliant. I found this page which explains using this function well:
https://andrewlock.net/working-with-stacked-branches-in-git-...
link
luckymate
32 days ago
Thanks! I’ll check it out
link