Create a repository
You need to first create a repository before you can add code to it.
We’re rolling out these changes, so the documentation may not match your experience in the Bitbucket Cloud app. Read about the new Bitbucket navigation
Need to set up a repository? Then you've come to the right place! Use this page to determine how to set up a repository based on your situation.
If you're starting from scratch and have no files, you can simply create a repository on Bitbucket Cloud and then clone it to your local system. This cloning action connects your remote Bitbucket repository to your specified local directory.
If you've been working on a project on your local system, it's probably a good idea to put it into source control. Alternatively, you may already have it versioned using Git, but you now want to start collaborating with a few others.
Create a repository in Bitbucket and then connect your local directory to the remote repository.
Create a repository Learn how
Get your code onto Bitbucket
Bitbucket provides a tool for importing from certain source control tools. If your code is in a system Bitbucket can't import, you can convert it to Git before pushing the code to Bitbucket. Learn how
Connect a Bitbucket repository to your Jira project
If you are looking to connect a repository to a Jira project and utilize some of the features available like highlighting ‘stale’ pull requests, refer to Connect Bitbucket Cloud to Jira Software Cloud.
Create a repository
You need to first create a repository before you can add code to it.
Add unversioned code to a repository
Start a brand new project by adding unversioned code from your local system to a Bitbucket Cloud repository.
Import or convert code from an existing tool
Get your existing code into Bitbucket Cloud quickly by using the importer that Bitbucket provides.
Import a repository from GitHub or GitLab
Add code to Bitbucket Cloud from GitHub or GitLab.
Was this helpful?