Re: How to combine git repos with similar code and keep all branches and tags?
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Apr 14, 2015, 17:09 UTC
- Message-ID
- <vpqr3rm8wn6.fsf@anie.imag.fr>
- In-Reply-To
- <BBAA9EAE77388248BCAB045DA762C5A83EFE242F@EXBE01-ENSIM.ms.ensim.com>
Jose de Leon <jdeleon@ensim.com> writes:
Show 5 quoted lines
> For some unknown reason to me, our developers started a git project, > called Ver1, this was the first version. Then sometime later, they > created a new git repository called Ver2, the initial commit for Ver2 > was essentially a copy of the code in Ver1 from the master. They > didn't clone it, they just copied the code at the latest point.
This is why "graft points" were created, and then superseeded by "git replace".
See http://git-scm.com/blog/2010/03/17/replace.html and http://git-scm.com/docs/git-replace
-- Matthieu Moy http://www-verimag.imag.fr/~moy/