Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lemonwaterlime
· 6mo ago · 0 comments
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.
Comments
[–]
fatuna
6mo 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-...
[–]
luckymate
6mo ago
Thanks! I’ll check it out