Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 748 Bytes

14-other-topic.md

File metadata and controls

61 lines (33 loc) · 748 Bytes
layout title subtitle
page
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