Skip to content

Commit

Permalink
Remove packages based on revisions (#2198)
Browse files Browse the repository at this point in the history
* Remove packages based on revisions

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* Add package reference syntax

Signed-off-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
uilianries committed Sep 6, 2021
1 parent 7940cd7 commit a709dd6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions reference/commands/misc/remove.rst
Expand Up @@ -97,3 +97,20 @@ The ``-q`` parameter can't be used along with ``-p`` nor ``-b`` parameters.
.. code-block:: bash
$ conan remove --system-reqs '*'
- Remove all remote packages only related to a specific recipe revision
.. code-block:: bash
$ conan remove -r myremote package/version@user/channel#RREV --packages
- Remove only a single remote package related to a specific recipe revision and its package ID
.. code-block:: bash
$ conan remove -r myremote package/version@user/channel#RREV -p package_id
OR
$ conan remove -r myremote package/version@user/channel#RREV:PACKAGE_ID

0 comments on commit a709dd6

Please sign in to comment.