从 GitHub 上删除现有仓库。
语法
hub delete
[-y] [组织名/]名称
选项
- -y, --yes
- 跳过确认提示并立即删除该仓库。
- [组织名/]名称
- 该仓库在 GitHub 上的名称。
示例
$ hub delete recipes
[ personal repo deleted on GitHub ]
$ hub delete sinatra/recipes
[ repo deleted in GitHub organization ]
hub delete
[-y] [组织名/]名称
$ hub delete recipes
[ personal repo deleted on GitHub ]
$ hub delete sinatra/recipes
[ repo deleted in GitHub organization ]