GitHub创建仓库和删除仓库

创建仓库

1、在官网里面新建GitHub仓库【两种方式】如图:

2、必须写Repository name(仓库名称),Description(描述 )可以不写也可以写,勾选Initialize this repository with a README(使用自述文件初始化此存储库),最后点击Create repository(创建存储库)即可,如图:

Repository name: 仓库名称
Description(可选): 仓库描述介绍
Public, Private : 仓库权限(公开共享,私有或指定合作者)
Initialize this repository with a README: 添加一个README.md文件
gitignore: 不需要进行版本管理的仓库类型,对应生成文件.gitignore
license: 证书类型,对应生成文件LICENSE

删除仓库

1、点击 Settings(设置),如图:

2、把网页下拉到最下面在 Danger Zone(危险区) 中点击 Delete this repository(删除此存储库),如图:

3、在 Please type in the name of the repository to confirm(请输入要确认的存储库名称)下输入存储库的名称,再点击 I understand the consequences, delete this repository(我明白后果,删除这个存储库),最后输入自己GitHub的密码即可删除仓库,如图:

发布了144 篇原创文章 · 获赞 25 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/AdminGuan/article/details/101800331