I would like to put an old Git Repo I have for a website publicly on GitHub. I cannot do this because the repo contains the original site and its files as well as the current one. The current one is a complete rewrite of the old site and thus, shares no files with it. Sadly, when I was originally creating it, I branched in the repo and did my rewrite there, then merged it back into master.
I do not want the old version of the website to be public, but I do want to be able to get to it to check files and content if I need to review something. I'd like to have my repo for the new site start from where I originally branched to now, keeping my recent commit history.
I have some ideas for how this probably could be done, but nothing concrete. Here's what I'm thinking:
- Rename this repo to -oldand run some fancy script that takes all commits from a certain starting point and adds then to a new repo.
- Take the original repo up to the point where it was modified and create a new -oldversion of it. Somehow rewrite Git history in the current repo from a commit to the new one.
- Create a branch of masterand somehow rewrite Git history in the current repo from a commit to the new one.
- [DO NOT WANT TO DO THIS] Create a new repo and start over.
 
    