Created branch in wrong place... how to fix?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I created a branch in a project and did a series of commits. I now
discover that I really wanted to make all those changes against a
completely different branch of the same project. There shouldn't be
any issues as the branch introduces entirely new files (no changes to
existing code).
I'm struggling to see a way to do this without loosing the history.
Some Google'ing suggests 'rebase --onto' but I'm struggling to see how
this works or if it is appropriate. Any pointers much appreciated :)
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]