This document provides an introduction to version control using Mercurial (hg) and discusses how it can be useful for bioinformatics work. It explains how to install hg, initialize a repository, add and commit files, and view changes and history. Examples are given for how version control can be used to track code, data, and other files and to recover from errors or try alternative approaches. Guidelines are provided for commit messages and best practices.
Related topics: