Forrest logo
back to the hg tool

hg-log:tldr:49724

hg-log: Display revisions committed by a specific user.
$ hg log --user ${user}
try on your machine

This command is used with the Mercurial version control system (hg) to retrieve the history of a repository filtered by a specific user.

Here is a breakdown of the command:

  • hg log: This is the main command to view the commit history of a repository using Mercurial.
  • --user ${user}: This is an option used to filter the log based on a specific user. The ${user} placeholder needs to be replaced with the actual username or identifier of the desired user.

By running this command, Mercurial will display the commit history in the console, showing only the commits made by the specified user. This can be useful for tracking the work done by a specific person or reviewing their contributions to the 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