Git demo

…衆ロ難τιáo~ 提交于 2020-03-04 00:44:27

$ mkdir git_demo
 $cd git_demo
 $ git init
$git add  tang.txt(123//文件夹) // 告诉git本地仓库增加的文本文件

$ git remote add  origin https://github.com/hkfa/xinhuapachong.git

$git commit -m "本次要提交的概要信息" // 提交
$ git pull origin master   //注: 进行push前先将远程仓库pull到本地仓库
 
$ git push origin master

https://blog.csdn.net/top_code/article/details/50241999 使用Git上传项目代码到github

git 中一个本地仓库只能对应一个远程仓库

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!