First, assuming you have stuff built (gulp
or grunt build
), copy the the dist
directory and temporarily store it anywhere outside of the repo
Then execute the following...
git checkout --orphan release
git rm --cached $(git ls-files)
git clean -d -x -f
You should have an empty repo at this point...