Mercurial is a powerful and popular distributed version control system, which provides you with a way to
both archive and save older versions of your code, along with the changes made to each revision, plus it makes it easy to work
on your source code simultaneously with other people.
Knowing and using some form of version control is all but a necessity for anyone working with any source code, no matter now
big or small the project is.
This set of tutorials will show you how to use Mercurial, along with BitBucket, a popular repository website that pairs well
with Mercurial.
Note: This set of tutorials is new and in development. Consider yourself a beta reader of these tutorials. If you notice any
errors (technical, grammatical, etc.) or anything that is just plain confusing, please bring it to my attention.
![]() |
1 - What is Version Control?This tutorial explains the purpose of version control and why you should use it. The two reasons are |
![]() |
2 - Downloading Mercurial and TortoiseHgThis is a short tutorial that outlines where to go to download Mercurial and TortoiseHg. It will |
![]() |
3 - The Basics of Version ControlThis tutorial will be the first that starts to actually do stuff with Mercurial. This will go through |
![]() |
4 - DiffEmbedded in Mercurial is a program called a diff tool. (Specifically, KDiff3.) The diff tool is at the heart of |
![]() |
5 - Ignoring filesSome files don't belong in the repository, because either they are binary (which doesn't work so well in any |
![]() |
6 - Concepts of Distributed Version ControlThis tutorial covers how disributed version control, which uses more than one repository, works at a conceptual level. |
![]() |
7 - Working with Multiple RepositoriesIn the previous tutorial we cover the fundamentals of distributed version control, which uses multiple repositories, at |
![]() |
8 - BitBucketIn this final tutorial, we'll cover how to create a repository on BitBucket.org, which makes it easy to share your code |