WARNING: Jenkins X version 2.x is unmaintained. Do not use it.
Please refer to the v3 documentation for the latest supported version.
jx delete repo
list of jx commands
jx delete repo
Deletes one or more Git repositories
Synopsis
Deletes one or more repositories.
This command will require the delete repo role on your Persona Access Token.
Note that command will ask for confirmation before doing anything!
jx delete repo [flags]
Examples
# Selects the repositories to delete from the given GitHub organisation
jx delete repo --github --org myname
# Selects all the repositories in organisation myname that contain 'foo'
# you get a chance to select which ones not to delete
jx delete repo --github --org myname --all --filter foo
Options
-a, --all If selecting projects to delete from a Git provider this defaults to selecting them all
-f, --filter string If selecting projects to delete from a Git provider this filters the list of repositories
-g, --git-host string The Git server host if not using GitHub
--github If you wish to pick the repositories from GitHub to import
-h, --help help for repo
-n, --name stringArray Specify the Git repository names to delete
-o, --org string Specify the Git provider organisation that includes the repository to delete
Options inherited from parent commands
-b, --batch-mode Runs in batch mode without prompting for user input
--verbose Enables verbose output. The environment variable JX_LOG_LEVEL has precedence over this flag and allows setting the logging level to any value of: panic, fatal, error, warn, info, debug, trace
SEE ALSO
- jx delete - Deletes one or more resources
Auto generated by spf13/cobra on 2-Sep-2020
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified September 2, 2020: updated jx commands & API docs from 2.1.138 (4fc0bedc90)