Resetting git repo
- delete .git directory
-
initiate
git init git add --all git commit -m '<message>'
-
push and overwrite
git remote add origin <url> git push --force --set-upstream origin master
initiate
git init
git add --all
git commit -m '<message>'
push and overwrite
git remote add origin <url>
git push --force --set-upstream origin master