Version Control with Mercurial

Other Topics

Pull and Update All-In-One

  • hg pull --update

Tagging Changesets with Memorable Names

  • hg tag
  • hg tags

Fixing Your Most Recent Commit

  • hg commit --amend

Manipulating Files --- Copy, Move, Delete, ...

  • hg rm
  • hg forget
  • hg cp
  • hg mv

Avoiding Uninformative Merges

  • hg pull --rebase

Other Ways to Share Repos

  • filesystem
  • ssh
  • HTTP/HTTPS
  • hg serve

Bitbucket Forks and Pull Requests

Ignore File Tricks

  • user-level .hgignore file
  • .hgignore regular expression syntax

Updating Backwards in Time

  • hg update --rev

ssh Keys Authentication

  • ssh-keygen
  • ssh-agent