github代码上传(window10版本)

xiaoxiao2021-02-27  261

参考:https://serholiu.com/github-share-code

在安装了git之后。

使用命令

git init                                        创建仓库

git   add .                                    选择文件

git  commit -m  '注释'                  添加文件进入仓库,"注释"随便写

git   remote  add   origin  "xxx"    XXX为项目地址    

git  push -f  origin master           上传代码到xxx

转载请注明原文地址: https://www.6miu.com/read-8630.html

最新回复(0)