Creating repositories

Repositories in Bitbucket Data Center allow you to collaborate on code with your team.

In order to create repositories, you need to have the appropriate permissions for the project to which you want to add a repository.

When a repository in Bitbucket is created, the project permissions are applied to the repository. That means all repositories created in a project share the same access and permission settings.

Go to the project and click Create repository to open the repository creation form:

Once submitted you will be taken directly to your repository homepage.

There won't be any content in your repository yet, so you'll see some instructions to help you push code to your repository:

You will find your clone URL in the lefthand sidebar of the repository homepage. You can use this URL and share it with other people.

Let other people collaborate with you

If your project admin hasn't restricted you from managing repository permissions, you can grant users and groups access to this repository; otherwise, you'll need to ask them to grant the required repository permissions. Learn more about how project admins can restrict changes to repository settings

You can also create a Contributor's guidelines file to add to your repository, where you can add info on what you'd like your contributors to do when contributing to your repository.

Last modified on Feb 7, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.