Bitbucket Documentation

Index

Skip to end of metadata
Go to start of metadata

If you are new to hosting your code, DVCS code management, or either Git or Mercurial, this bitbucket 101 tutorial gives you a taste all of them. In this tutorial, you'll first install both Git and Mercurial for your operating system. You'll do some work using both Git and then Mercurial. Throughout, you'll use the hosted code management system that is bitbucket. The tutorial consists of the following pages:

The tutorial teaches you some simple DVCS workflows using basic Git and Mercurial commands.  You don't really need to know anything about Git or Mercurial to work through the tutorial. If you are a beginner, you may not be comfortable working this way. If you prefer to learn the tools before working through this tutorial, you can learn more about Git here. To learn more about Mercurial, you should start here.

How to work through the tutorial

If you are totally new to DVCS and/or bitbucket, you should work through each page sequentially as each new page builds on the material from the previous pages  At the end of each page is a Next heading that tells you where to go next.  If you get lost, you can use the navigation bar (to your left) to locate the next page.  If you feel confident skipping pages or just going to pages you need, feel free to do that too.

If you are a total beginner, you should allow at least a couple of hours to work through the entire tutorial. If you are experienced or just skimming pages, much of this will be familiar to you and it should not take too long.

Start the tutorial with Set up Git and Mercurial.

Skip the getting started stuff

You can skip the getting started bit if you want. Other things you might be interested in:

Labels
  • None
  1. Nov 05, 2011

    See also here: Git Tutorial

    1. Nov 05, 2011

      Thanks Lars, that's a pretty good substitute for the broken kernel.org documentation.

      P.S.
      Since you advertise it here, maybe you could extend paragraph 16 to include our service as well? (wink)

      1. Nov 05, 2011

        (wink) Thanks Erik, thats one of the reasons why I created my Git repo here, to see how your Git service works and if it works well to add it to my tutorial.

        IMHO you should also add a description how to migrate an existing repo to a newly created repo at bitbucket.

        git remote add origin git@bitbucket.org:vogella/test.git

        git push -u origin master

        You currently only have how to clone it, after creation.



      2. Nov 06, 2011

        Thanks again Erik. I added Bitbucket to my tutorial.