Mercurial

From Carpet Workshop
Revision as of 18:52, 25 August 2010 by Mundim (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Useful commands for Mercurial:

  • hg clone --> create local instance of repository
  • hg pull --> pull changes from repository to local instance
  • hg merge --> merge these changes with local changes
  • hg update --> updates local instance to repository's instance
  • hg rebase --> hold your local change, update and then commit your changes
  • .hgrc --> Configuration file set on your home directory. Example:
    • [ui]
    • username= John Doe <john.doe@some.where.edu>
    • [extensions]
    • rebase =
    • record =
  • hg commit --> to your local repository only
  • hg push --> to the remote repository
  • hg record --> sequentially chose what local changes to push
  • GUI MacHg