Set up version control

When you use Bitbucket Cloud, you want to transfer your code between your local system and Bitbucket. This is where a distributed version control system (DVCS) comes in!

  Not sure what a DVCS tool is?

Maybe you've used a version control tool previously in the form of a Wiki or a code revision system, such as Subversion. This type of system saves a history of previous versions that you can use to go back to or compare your newer versions. It also allows you to collaborate with others so that they can update what you are working on too.

So then, what does it mean for a version control system to be distributed? A version control tool is distributed when there is no distinction between the project files on the central server and the files on your local system, even though you may use one set of files to collaborate (in your case from Bitbucket).

Bitbucket supports two DVCS tools: Git and Mercurial. You can use both of these tools by typing commands from a terminal. Don't want to use the command line? Try SourceTree instead. SourceTree is an application with a user interface that lets you do everything you can do with Git and Mercurial without learning a lot of new commands.

Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport