Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access my bitbucket repository if I rename it

Tags:

git

I have a git project on bit bucket which I access via:

[email protected]:amm/witmachine.git

I would like to access as:

[email protected]:amm/masterwit.git

Do I need to create a new repository?

I have an existing checkout - if I rename the repository how to I make my checkout use the correct project on bitbucket instead of the old one?

like image 641
A. M. Mérida Avatar asked Jul 10 '13 22:07

A. M. Mérida


1 Answers

So you want to change the URL of a remote?

git remote set-url origin [email protected]:amm/masterwit.git
like image 90
Ry- Avatar answered Sep 20 '22 02:09

Ry-