gh-repo-delete - Man Page

Delete a repository

Synopsis

gh repo delete [<repository>] [flags]

Description

Delete a GitHub repository.

With no argument, deletes the current repository. Otherwise, deletes the specified repository.

Deletion requires authorization with the "delete_repo" scope. To authorize, run "gh auth refresh -s delete_repo"

Options

--confirm

confirm deletion without prompting

See Also

gh-repo(1)

Referenced By

gh-repo(1).

Jul 2022 GitHub CLI manual