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

--yes

confirm deletion without prompting

See Also

gh-repo(1)

Referenced By

gh-repo(1).

Mar 2024 GitHub CLI manual