From: Andreas Schwab Date: Sun, 11 Oct 2009 09:34:48 GMT Subject: Re: combine git repo historically Message-ID: In-Reply-To: <200910110436.52653.chriscool@tuxfamily.org> Christian Couder writes: > You want N' to have the same content as N but to have M as parent. So you > could do something like the following: > > (We suppose that commits A to M are in branch1 and that you are in the root > directory of your repo2 working directory.) > > $ git checkout -b repo1-branch1 remote/repo1/branch1 > $ git checkout N -- . > $ export GIT_AUTHOR_NAME= > $ export GIT_AUTHOR_EMAIL= > $ export GIT_AUTHOR_DATE= > $ git commit -a Isn't that what git cherry-pick does? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."