Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-13 00:20:58 +00:00
parent 3f2128c494
commit 2a42e87c5b
14 changed files with 14 additions and 14 deletions

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Mercurial - a distributed source control management system.
> Some subcommands such as `commit` have their own usage documentation.
> More information: <https://www.mercurial-scm.org>.
> More information: <https://www.mercurial-scm.org/help/commands>.
- Execute a Mercurial command:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg add
> Adds specified files to the staging area for the next commit in Mercurial.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#add>.
> More information: <https://www.mercurial-scm.org/help/commands/add>.
- Add files or directories to the staging area:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg branch
> Create or show a branch name.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#branch>.
> More information: <https://www.mercurial-scm.org/help/commands/branch>.
- Show the name of the currently active branch:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg clone
> Create a copy of an existing repository in a new directory.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#clone>.
> More information: <https://www.mercurial-scm.org/help/commands/clone>.
- Clone a repository to a specified directory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg commit
> Commit all staged or specified files to the repository.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#commit>.
> More information: <https://www.mercurial-scm.org/help/commands/commit>.
- Commit staged files to the repository:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg init
> Create a new repository in the specified directory.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#init>.
> More information: <https://www.mercurial-scm.org/help/commands/init>.
- Initialize a new repository in the current directory:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg log
> Display the revision history of the repository.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#log>.
> More information: <https://www.mercurial-scm.org/help/commands/log>.
- Display the entire revision history of the repository:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg pull
> Pull changes from a specified repository to the local repository.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#pull>.
> More information: <https://www.mercurial-scm.org/help/commands/pull>.
- Pull from the "default" source path:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg push
> Push changes from the local repository to a specified destination.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#push>.
> More information: <https://www.mercurial-scm.org/help/commands/push>.
- Push changes to the "default" remote path:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg remove
> Remove specified files from the staging area.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#remove>.
> More information: <https://www.mercurial-scm.org/help/commands/remove>.
- Remove files or directories from the staging area:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg root
> Display the root location of a Hg repository.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#root>.
> More information: <https://www.mercurial-scm.org/help/commands/root>.
- Display the root location of the current repository:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg serve
> Start a standalone Mercurial web server for browsing repositories.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#serve>.
> More information: <https://www.mercurial-scm.org/help/commands/serve>.
- Start a web server instance:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg status
> Show files that have changed in the working directory.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#status>.
> More information: <https://www.mercurial-scm.org/help/commands/status>.
- Display the status of changed files:

View File

@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
# hg update
> Update the working directory to a specified changeset.
> More information: <https://www.mercurial-scm.org/doc/hg.1.html#update>.
> More information: <https://www.mercurial-scm.org/help/commands/update>.
- Update to the tip of the current branch: