Hacker News new | ask | show | jobs
by kcrwfrd_ 415 days ago
In this scenario I prefer to do an interactive rebase (with -i flag) and drop all of the commits that were on branch A.

This is basically exactly the same as checking out a fresh branch from main and cherry picking the commits from branch B.