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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

672 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot