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
Highlighted

Working with private repo in a team environment

Hello all!

 

I'm a little confused when it comes to working with private repository in a team environment.

 

Scenario:

A private repo is created in my company's bitbucket account. As a team member, I'm supposed to clone it to my local and work from there. But when I try to do git clone (using https), I was asked to enter the password of the company's bitbucket account. 


It seems strange that the company's bitbucket account password should be made known to all team members in order for them to clone. 

 

Or is the recommended way to clone via SSH? If so, does it mean that all team members have to generate a SSH key and pass it into the repo in order to gain access?

 

Appreciate any input!

2 comments

DPK J Community Leader Aug 28, 2019

@edmundcwm

You have to add team/users account to your repository so each user can access repository by there own credentials.

Read this KB article it will resolve all your doubts - https://confluence.atlassian.com/bitbucket/create-and-grant-access-to-team-repositories-665225545.html

Like edmundcwm likes this

Thanks for the information! I'm beginning to understand how the access part works now!

Thanks for the info! I'm beginning to understand how access works now!

Comment

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,505 views 0 6
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