I got this error when trying to push a file in an existing repository to another repository.
git remote rm origin
You can now git remote add, push to your new repository.
Recommended Posts