Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Why do my workspace repositories reference my account?

Apologies legends but I've wasted too much time looking into this and can't find an answer so clearly I'm doing something wrong.

My company is moving to Jira from a hosted Redmine provider who also hosts our repositories. Prior to that we hosted our own git server. I am currently in the process of moving all of our repositories to BitBucket.

After cloning or creating a new repo the git url references my user account.

e.g.

git clone https://my-name@bitbucket.org/workspace-name/repo-name.git

Looking at the URL format I think I can see the problem but I'm struggling to accept the conclusion. My tumble down the rabbit hole tells me that if I leave the company:

  • Each and every repo needs to be transferred one by one to another team member.
  • Every other team member then needs to update their locals.
  • This would also happen when any other developer that created a repo leaves the company

Is this correct? 

Surely they can be assigned to / owned by the Organisation we set up in Jira? 

 

Man I hope I'm doing something wrong. 

Thanks.

2 answers

1 accepted

1 vote
Answer accepted

Hello,

When you clone (or pull from/push to) a repo it is possible to use either HTTPS or SSH protocol.

When you use HTTPS you authenticate with username + password. The clone URL that you get from Bitbucket UI includes the username of the account your are logged in with, this way you won't have to enter your username for authentication every time you clone/pull from/push to the repo.

As you correctly noticed, when a different user logs in with their account, they'll get a clone URL that includes their username.

Regarding ownership of the workspace, if you leave the company you can assign a new administrator from the workspace's Settings > User groups > Open the Administrators user group and add a new admin there. The new admin will be able to remove your account from the admins once you leave the company.

I hope this helps to clarify things. Please feel free to let me know if you have any other questions!

Kind regards,
Theodora

Perfect. Many thanks.

Like Theodora Boudale likes this

Ok... Some clarity on the URL. I set up an account for another user and we logged in to check. His repo URL shows his username instead:

git clone https://other-developer@bitbucket.org/workspace-name/repo-name.git

 

I think I understand what is happening in the background now. He gets access to the repo through the workspace membership. Sweet.

 

I'm still unsure about the repos that belong to a workspace then. What is the procedure if I leave?
I simply nominate a new administrator?

Cheers.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

505 views 6 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you