1.注册github账号登录后,建立远程仓库test
![在这里插入图片描述](https://img-blog.csdnimg.cn/811d10a4449e44a394195237032961d7.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3BpbGdyaW1fMTIx,size_16,color_FFFFFF,t_70#pic_center)
![在这里插入图片描述](https://img-blog.csdnimg.cn/c5309132475d4c5b8c67d017e08034eb.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3BpbGdyaW1fMTIx,size_16,color_FFFFFF,t_70#pic_center)
![在这里插入图片描述](https://img-blog.csdnimg.cn/08c644c4294a4179945366c3b1aaf8f7.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3BpbGdyaW1fMTIx,size_16,color_FFFFFF,t_70#pic_center)
2.将本地的代码push到远程仓库test
(1)项目hhh文件夹下有一个文件hhh.html
![在这里插入图片描述](https://img-blog.csdnimg.cn/002b666e1f984e708ef5a834c81a0340.png#pic_center)
(2) 对项目文件夹hhh,进行git初始化:git init
![在这里插入图片描述](https://img-blog.csdnimg.cn/944b30941b194657bb1261dbd4897ee3.png#pic_center)
(3)
git add .
git commit -m 提交说明
git push https://github.com/windcat121/test.git master
3.将远程仓库test的代码clone到本地
git clone https://github.com/windcat121/test.git