Forrest logo
back to context overview

hg-add

List of commands for hg-add:

  • hg-add:tldr:05778 hg-add: Add files or directories to the staging area.
    $ hg add ${filename}
    try on your machine
    explain this command
  • hg-add:tldr:4b638 hg-add: Recursively add sub-repositories.
    $ hg add --subrepos
    try on your machine
    explain this command
  • hg-add:tldr:51be1 hg-add: Add all unstaged files, excluding those that match a specified pattern.
    $ hg add --exclude ${pattern}
    try on your machine
    explain this command
  • hg-add:tldr:b329f hg-add: Add all unstaged files matching a specified pattern.
    $ hg add --include ${pattern}
    try on your machine
    explain this command
  • hg-add:tldr:e3711 hg-add: Perform a test-run without performing any actions.
    $ hg add --dry-run
    try on your machine
    explain this command
back to context overview