hg update
Update the working directory to a specified changeset. More information: https://www.mercurial-scm.org/help/commands/update.
- Update to the tip of the current branch:
hg update
- Update to the specified revision:
hg update
- Update and discard uncommitted changes:
hg update
- Update to the last commit matching a specified date:
hg update
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
