I cloned an existing repo from Git (Bitbucket) and copied that file to a new location. Now I wanted to push that to an empty repository to Bitbucket as a new project with changes that are related to that project. This happened:
git remote add origin
fatal: remote origin already exists
After that I checked the git version (with $ git remote -v) and it indicates to the original cloned git repo from the last project. Is there a way to remove the git history so that I can do git init and push the project to a new repo? If I use rm -rf .git will that harm the original cloned git repo? Or can I then initialize the new project and push that to the new empty repo?