Github Use Note
大写的ABCD
BMS ASW
展开
-
GIthub 本地仓库同步及上传 ---亲测可用
GIthub 本地仓库同步及上传 —亲测可用 git同步本地代码 git上传代码到github Git Step: git init //将文件夹设置为本地仓库,只有这样才可以把本地的文件传入github仓库 git remote add origin SSH地址 //将本地仓库与github仓库进行关联 git pull origin master //将GitHub上仓库的内容pull到本地仓库,两者保持一致 git add 文件名 //添加文件到本地库,也可以添加所有文件 g原创 2020-09-13 11:44:37 · 330 阅读 · 0 评论 -
Could not resolve hostname github: Name or service
Git pull error ssh: Could not resolve hostname github: Name or service not known fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 如果遇到上面面这个错误,千万不要用网上的哪个一大堆点击量的: ping githun.com 这原创 2020-09-10 21:56:55 · 1301 阅读 · 1 评论