I'm trying to do what is described here:
Move master branch to another branch and start new master
I have new "Upgraded" project files that I want to replace all the files currently in the master
branch.
I've copied the master branch to a archive
branch and now I need to reset / delete all the files in the master branch and then sync that with Github.
git push origin :master
Which tries to delete the master branch but I get this message:
To github.com:fireflysemantics/validatorts.git
! [remote rejected] master (refusing to delete the current branch: refs/heads/master)
error: failed to push some refs to 'github.com:fireflysemantics/validatorts.git'
So do we delete the master branch and sync the deletion to Github? Then recreate the master branch and sync the new one with the new files?