I have 2 git repositories set up, and I did a lot of coding in 1. Someone else grabbed the code to make changes to the code, but never pushed them up.
The changes are now so large, I want to push it to an entirely new repository. I have their computer, and I tried to git remote rm origin
. Then i tried git remote add origin <url>
, but it gives the following error
fatal: remote origin already exists.
Is there a way to push this to a new origin, and have it entirely forget about the first(like, not even remember it's a branch of the first)?