mercurial-hg

15y, 298d ago [edited]

Mercurial HG

Set a default text editor

Edit ~/.hgrc or the projects .hg/hgrc and add the following line:

[ui]
editor = whatever

Set a default user editor

Edit ~/.hgrc or the projects .hg/hgrc and add the following line:

[ui]
username = foxhop

Command Cheat sheet

hg status

Show the status of all files that differ from the most recent commit.

hg pull

Pull all changes from the central or main repository.

hg update

Update the local repository with any and all recently pulled changes.

hg commit

Commit any changes to the working directory to the local repository.

hg push

Push any changes from the local repository to the central or main repository.


Comments

hide preview ▲show preview ▼

What's next? verify your email address for reply notifications!

Leave first comment to start a conversation!