Difference between revisions of "Mercurial"

From Carpet Workshop
(Created page with 'Useful commands for Mercurial: * hg clone * hg pull * hg update * hg rebase --> hold your local change, update and then commit your changes * .hgrc * hg commit --> to your ...')
 
Line 1: Line 1:
 
Useful commands for Mercurial:
 
Useful commands for Mercurial:
  
* hg clone
+
* hg clone --> create local instance of repository
* hg pull
+
* hg pull   -->  pull changes from repository to local instance
* hg update
+
* 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
 
* hg rebase  --> hold your local change, update and then commit your changes
  
Line 10: Line 11:
 
* hg commit  --> to your local repository only
 
* hg commit  --> to your local repository only
 
* hg push    --> to the remote repository
 
* hg push    --> to the remote repository
* hg record
+
* hg record --> sequentially chose what local changes to push
  
 
* GUI MacHg
 
* GUI MacHg

Revision as of 15:01, 25 August 2010

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
  • hg commit --> to your local repository only
  • hg push --> to the remote repository
  • hg record --> sequentially chose what local changes to push
  • GUI MacHg