git - Move some already existing and pushed commits to a new branch -
i have feature branch topic x, in branch did commits better in feature branch y, forgot create before beginning.
is there way move commits new branch? not matter if branch branched x or master or anywhere else.
if latest commits, see instructions here. otherwise, can cherry pick commits other branch, delete them old. remember: if have pushed changes, rewriting history bad idea.
Comments
Post a Comment