I have a prototype version of an app in a repo.
I'd like to store the code from this prototype for future reference but not include any of the files in the next release version of the code which I'll start form scratch on a new branch.
So far, I've created a new branch for the prototype and pushed that to our remote repository - that's safe and not going anywhere.
Back on my local, master branch I'd like to start with a completely clean slate - remove all the files currently listed.
Is there a more gitish way to approach this than simply removing the files?
I remember there was a method I used previously when setting up github pages for a repository but the documentation for that seems to have moved :/
Thanks in advance