...
B. I have a local copy I want to keep
Note |
---|
The rename will change the remote of all your branches to upstream, which is not what you want. So, it is probably best to complete your work and remove the old copy, and then go with plan A. |
Rename the existing remote:
Use
git remote -v
to check that the openedx repo is named “origin”Rename the remote to “upstream”:
git remote rename origin upstream
.
Add a new remote for your fork:
git remote add origin https://github.com/USER/REPO.git
...