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.
I have no existing files.
I have existing files on my local system.
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 or Mercurial, 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.
I have existing files in a source control tool.
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 or Mercurial before pushing the code to Bitbucket.