Forrest logo
back to the hg tool

hg-push:tldr:d79b7

hg-push: Specify a specific revision changeset to push.
$ hg push --rev ${revision}
try on your machine

This command is related to a version control system called Mercurial (often abbreviated as "hg").

hg push is a command used to push changes from a local repository to a remote repository.

The --rev option is used to specify a specific revision to push. In this case, ${revision} is a placeholder for the actual revision number or identifier you want to push. It could be something like a commit ID or a branch name.

By using hg push --rev ${revision}, you are instructing Mercurial to push only the changes associated with a specific revision to the remote repository.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the hg tool