LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

hub-delete

deletes a GitHub repository

TLDR

Delete a repository under your user
$ hub delete [name]
copy
Delete an organization repository
$ hub delete [organization]/[name]
copy
Skip the confirmation prompt
$ hub delete -y [user]/[name]
copy

SYNOPSIS

hub delete [-y] [organization/]name

DESCRIPTION

hub delete deletes a GitHub repository. The repository name is required and may be prefixed with an organization for repositories not owned by the current user.The command requires interactive confirmation unless -y is provided. It permanently removes the repository including all issues, pull requests, and wiki data.

PARAMETERS

[ORGANIZATION/]NAME

The name of the repository on GitHub, optionally prefixed by an organization.
-y, --yes
Skip the confirmation prompt and immediately delete the repository.
--help
Display help information.

INSTALL

sudo apt install hub
copy
sudo pacman -S hub
copy
sudo zypper install hub
copy
brew install hub
copy
nix profile install nixpkgs#hub
copy

CAVEATS

Destructive and irreversible. Requires authentication and the delete_repo scope on the GitHub token. Owner or admin permissions on the target repository are required.

HISTORY

hub delete is part of hub, GitHub's original CLI for repository management.

SEE ALSO

hub(1), gh(1), hub-create(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid