Boost logo

Boost :

Subject: Re: [boost] [githelp] Merging two repositories
From: Philippe Vaucher (philippe.vaucher_at_[hidden])
Date: 2013-12-10 03:54:42


> cd repo1
> git remote add otherrepo ../repo2
> git fetch --all
> git pull otherrepo master
>

I just realised that simply "git pull ../repo2 master" should work too.

Learn about git reflog so you know how to reset bad situations, or at worse
do some physical backup of the directories if you are unsure and give it a
try.

Philippe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk