I have a local section branch that is tracking the remote branch. For an argument, say, commit history looks like this:
A
phobos looked at the relative commit history, now I want to undo all the changes in the local phobos branch and return it to a direct copy of origin/phobos so that the local history looks like this:
A
I really don't need local changes in the phobos branch, and I really don't want merges to appear in the original repository. (So ββjust merging is not what I mean.)
It seems like it should be very simple, but my google-fu didn't help me. How to do it?
git
Electrons_Ahoy Mar 01 '10 at 19:58 2010-03-01 19:58
source share