How to delete/change the remote origin master branch

418 Views Asked by At

I have a movile project repo in bitbucket and I cloned that repo into a eclipse project the remote branch master/origin point too that repo this is ok, but I created another empty repo in bitbucket and I want to push my project in that empty repo.

My problem is that when I do git remote -v it shows the name of the branches of the repo from were I cloned the project, I want to remove those branches and change them to use the branches of the new empty repo that I created

1

There are 1 best solutions below

0
On

You can change remote of the repo to point to a different URL:

git remote set-url origin [email protected]:<your_id>/<new_repo.git>