logoalt Hacker News

Fang_today at 1:54 PM1 replyview on HN

Is there any reason besides merge commits ending up in history to not do this with merges instead? ie merge main into feature-1, then feature-1 into feature-2.

Sounds like using --update-refs would let you do all that in a single operation, but you still need to force-push and don't maintain an explicit merge/conflict resolution history, both of which could be considered sub-optimal for collaborative scenarios.


Replies

happytoexplaintoday at 2:20 PM

The use case is that they are not ready to merge yet.