how to change git repo name

on my Bitbucket instance, I would like to change the name.

for example, in a repo https:  https://john_smith@bitbucket.org/john_smith/repo1.git , i would like the repo name to be something like  https://john_smith@bitbucket.org/projectnamehere/repo1.git

How do i do this?

Thanks!

1 answer

This widget could not be displayed.

1. Go to the project's main page, e.g., https://bitbucket.org/john_smith/john_smith/
2. Follow link=`Settings` (cogwheel at bottom of left-side navbar)
3. If subpage=`Repository details` is not already selected, follow that link (at top of left-side navbar).

Rest is intelligence test :-)

Remember also to change the remotes on your local `.git`s: go to each, and do `git remote -v`, changing as necessary, with (e.g.) the sequence [ `git remote delete <old_name/> <old_path>` , `git remote add <new_name/> <new_path>` ]

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,611 views 9 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you