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

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 Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

434 views 6 9
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