Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to change git repo name

CQSSFirmware September 21, 2016

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

0 votes
tlroche September 21, 2016

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
TAGS
AUG Leaders

Atlassian Community Events