On Thu, 28 May 2015 09:39:57 +0100 Steve Engledow steve@offend.me.uk wrote:
So, what I'd recommend is simply something like:
$ git clone beertent beerguide
To create a new copy of the entire repo, then...
$ cd beertent $ git rm -r harbour-beerguide
Unknown option: -rm
$ git mv harbour-beerternst/* ./
Did that ok
$ git commit -m "Remove beerguide and put beertent at the root"
Did that ok too. When do I do a 'push'?
To remove the beerguide folder from the beertent repo and move the beertent content into the root of it.
$ cd beerguide $ git rm -r harbour-beertent $ git mv harbour-beerguide/* ./ $ git commit -m "Remove beertent and put beerguide at the root"
To do the reverse for the beerguide repository.
Don't forget to set a sensible new remote for the new, clone repo:
$ git remote set origin git@github.com/tonercloud/beerguide.git
error: Unknown subcommand: set
I did say ".. tell me precisely the command(s) I should type in..." ;-)