I have a git-cpan-init
of a repo which yielded a different root node from another already established git repo I found on github C:A:S:DBI. I've developed quite a bit on my repo, and I'd like to merge or replay my edits on a fork of the more authoritative repository. Does anyone know how to do this? I think it is safe to assume none of the file-contents of the modified files are different -- the code base hasn't been since Nov 08'.
For clarity the git hub repo is the authoritative one. My local repo is the one I want to go up to git hub shown as a real git fork.
git remote add github <url>
, then, Igit checkout -b new_master
, then Igit reset --hard
that new_master to the HEAD ofgithub/master
, then I did thegit rebase --onto <sha1 of new_master> <sha1 of old master with my commits>
. This said "First, rewinding head to replay your work on top of it... Fast-forwarded new_master to 78672c96f2eb0717581f53b300c9243a5b446340" but when I viewgit log
on mynew_master
I don't see the changes and they aren't in my working dir. – Over