作者:-晴天2602926075 | 来源:互联网 | 2023-09-12 17:29
新建git项目输入项目名字和说明等信息这里的url下面是上传代码部分安装好git后,在项目目录下gitinit初始化本地仓库gitadd.将所有目录添加缓存git
新建git项目
![在这里插入图片描述](https://img5.php1.cn/3cdc5/935d/b64/7ea7b6e72ab898a0.png)
输入项目名字和说明等信息
![在这里插入图片描述](https://img5.php1.cn/3cdc5/935d/b64/9af84eb33b230671.png)
这里的url
![](https://img5.php1.cn/3cdc5/935d/b64/3db664903e6bd167.png)
下面是上传代码部分
安装好git后,在项目目录下
git init 初始化本地仓库
git add . 将所有目录添加缓存
git commit -m “添加你的注释,一般是一些更改信息” 提交
git remote add origin https://github.com/123/123.git 提交到之前生成的url
最后push提交
git push orgin master
![在这里插入图片描述](https://img5.php1.cn/3cdc5/935d/b64/f866baad9a17afd9.png)
下载到本地
git clone http****