mercurial-hg mercurial-hg Mercurial HG Set a default text editor Edit ~/.hgrc or the projects .hg/hgrc and add the following line: .. code-block:: bash [ui] editor = whatever Set a default user editor Edit ~/.hgrc or the projects .hg/hgrc and add the following line: .. code-block:: bash [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.