mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 08:50:57 +00:00
Update cheatsheets
This commit is contained in:
2
tldr/hg
2
tldr/hg
@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
> Mercurial - a distributed source control management system.
|
> Mercurial - a distributed source control management system.
|
||||||
> Some subcommands such as `commit` have their own usage documentation.
|
> 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:
|
- Execute a Mercurial command:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg add
|
# hg add
|
||||||
|
|
||||||
> Adds specified files to the staging area for the next commit in Mercurial.
|
> 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:
|
- Add files or directories to the staging area:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg branch
|
# hg branch
|
||||||
|
|
||||||
> Create or show a branch name.
|
> 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:
|
- Show the name of the currently active branch:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg clone
|
# hg clone
|
||||||
|
|
||||||
> Create a copy of an existing repository in a new directory.
|
> 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:
|
- Clone a repository to a specified directory:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg commit
|
# hg commit
|
||||||
|
|
||||||
> Commit all staged or specified files to the repository.
|
> 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:
|
- Commit staged files to the repository:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg init
|
# hg init
|
||||||
|
|
||||||
> Create a new repository in the specified directory.
|
> 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:
|
- Initialize a new repository in the current directory:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg log
|
# hg log
|
||||||
|
|
||||||
> Display the revision history of the repository.
|
> 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:
|
- Display the entire revision history of the repository:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg pull
|
# hg pull
|
||||||
|
|
||||||
> Pull changes from a specified repository to the local repository.
|
> 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:
|
- Pull from the "default" source path:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg push
|
# hg push
|
||||||
|
|
||||||
> Push changes from the local repository to a specified destination.
|
> 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:
|
- Push changes to the "default" remote path:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg remove
|
# hg remove
|
||||||
|
|
||||||
> Remove specified files from the staging area.
|
> 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:
|
- Remove files or directories from the staging area:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg root
|
# hg root
|
||||||
|
|
||||||
> Display the root location of a Hg repository.
|
> 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:
|
- Display the root location of the current repository:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg serve
|
# hg serve
|
||||||
|
|
||||||
> Start a standalone Mercurial web server for browsing repositories.
|
> 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:
|
- Start a web server instance:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg status
|
# hg status
|
||||||
|
|
||||||
> Show files that have changed in the working directory.
|
> 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:
|
- Display the status of changed files:
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
# hg update
|
# hg update
|
||||||
|
|
||||||
> Update the working directory to a specified changeset.
|
> 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:
|
- Update to the tip of the current branch:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user