Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,529
Community Members
 
Community Events
168
Community Groups

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

Atlassian Community Events