1 首先进入github网站Create a new repository,创建一个仓库,这个比较简单就不多说了
2 创建好仓库后会有个仓库地址,复制地址
3 在自己的电脑上创建一个文件夹用于上传代码,进入新建的文件夹,git clone 仓库地址 (如果系统没装git客户端先装一个)
4 将要上传的代码放入刚新建的文件夹内
5 git status
6 git add .
7 git commit -m "描述词"
8 git push
1 首先进入github网站Create a new repository,创建一个仓库,这个比较简单就不多说了
2 创建好仓库后会有个仓库地址,复制地址
3 在自己的电脑上创建一个文件夹用于上传代码,进入新建的文件夹,git clone 仓库地址 (如果系统没装git客户端先装一个)
4 将要上传的代码放入刚新建的文件夹内
5 git status
6 git add .
7 git commit -m "描述词"
8 git push