如何在github创建私有仓库private repo并上传代码

1. 登录www.github.com

2. 在个人中心,选择“Repositories”, 点击“New”。

如何在github创建私有仓库private repo并上传代码

3. 按提示填写repo信息。有公有和私有之分。

如何在github创建私有仓库private repo并上传代码

4. 创建完毕,在本地可以 git clone https://github.com/***/**.git

5. 本地git pull, git add, git commit, git push起来就好啦。