This is the mail archive of the
mailing list for the binutils project.
Re: git is live
- From: Tom Tromey <tromey at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Cary Coutant <ccoutant at google dot com>, GDB Development <gdb at sourceware dot org>, Binutils Development <binutils at sourceware dot org>
- Date: Tue, 22 Oct 2013 14:41:48 -0600
- Subject: Re: git is live
- Authentication-results: sourceware.org; auth=none
- References: <877gd5iyaz dot fsf at fleche dot redhat dot com> <CAHACq4o_Lgy7G5c9rRLB1tijmEngrOn8UgsQVdrnk9j8o1=D1A at mail dot gmail dot com> <5266CCDC dot 6090803 at redhat dot com>
Pedro> Dunno if there's an easier way, but that worked nicely
Pedro> for me, and it only took a few minutes.
What I've been doing is:
In my old gdb.git, look at a branch I want to preserve.
Find the branchpoint of the branch.
Then, find the corresponding commit in the new repository and make a
branch rooted there. Check out this branch.
In the old repository:
git format-patch -k --stdout BRANCH-POINT..BRANCH-NAME > /tmp/P
In the new repository:
git am -k < /tmp/P
Then I push the new branch to my gitorious repository.
So far that's worked quite nicely.