Make a comit the new root of its branch

This is a quick note on how to make a commit the new root commit of its branch, i.e. chop a branch off of it’s previous history at a specific point. Imagine we have the following commits: root — o — o — o — o — newroot — A — B — C —Continue reading “Make a comit the new root of its branch”