Can somebody help me with some git commands please?
I have a git repo called https://github.com/tonercloud/beertent and which contains two projects, harbour-beertent and harbour-beerguide. But I want to split out harbour-beerguide into a separate repository and also if possible move harbour-beertent up a level so that beertent is empty and just leave that repo as harbour-beertent.
I created a folder on my machine called beerguide_gitrepo/ and having looked at this page and run step 3 - https://help.github.com/articles/splitting-a-subfolder-out-into-a-new-reposi... that folder now contains a beertent folder and that in turn now has two sub-folders harbour-beertent and harbour-beerguide.
But so does beertent_gitrepo.
I've done as far as step 4 but that's where I am reluctant to go any further for fear of royally screwing things up.
Step 5 says I should run 'git filter-branch' but for me, it lacks clarity. As I said above, I want to remove the beertent name and just leave things named harbour-*
So can anybody tell me precisely the command(s) I should type in to remove harbour-beerguide from the local beertent_gitrepo and similarly remove harbour-beertent from the local beerguide_gitrepo and remove the beertent folders completely?
TIA