Linux command
hub-delete 命令
安全
复制后可按需替换文件名、目录或参数。
常用示例
Delete a repository under your user
hub delete [name]
Delete an organization repository
hub delete [organization]/[name]
Skip the confirmation prompt
hub delete -y [user]/[name]
说明
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.
参数
- -y, --yes
- Skip the confirmation prompt and immediately delete the repository.
- --help
- Display help information.
FAQ
What is the hub-delete command used for?
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.
How do I run a basic hub-delete example?
Run `hub delete [name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -y, --yes do in hub-delete?
Skip the confirmation prompt and immediately delete the repository.