Categories
post

Difference between hg clone and hg pull (Backing up Mercurial Repository)

hg clone will make a new repository (.hg).
hg pull will pull changeset from the depository to the current *existing* repository.

So hg clone can be used at first if you want to backup your repository and afterthat, use hg pull to update the backup.

By microbe

Like to cook for microorganisms and human. Play football, tennis, and baseball.

Leave a Reply

Your email address will not be published. Required fields are marked *