码迷,mamicode.com
首页 > 其他好文 > 详细

github小白入门上手

时间:2019-10-17 13:38:58      阅读:77      评论:0      收藏:0      [点我收藏+]

标签:别人   实现   article   details   版本   net   com   tail   仓库   

参考博客:

入门设置:https://blog.csdn.net/nmjuzi/article/details/82184818

一、把github上的文件弄到本地:在bash里面:git clone https://github.com/...... 然后就把这个项目克隆到本地了。

       参考博客:https://www.cnblogs.com/jf-67/p/6415637.html

 

二、把本地的代码上传到github:在bash里面就 git remote add origin https://github.com/zlxzlxzlx/Test.git(关联到github上的那个仓库)

                                              git pull origin master

                                              git push -u origin master

       参考博客:https://blog.csdn.net/shanglizhangrui/article/details/80533141

 

 

总结:github可以把,本地的文件上传到你github的建的某一个仓库上,然后在github上可以随时修改内容,修改版本,就方便团队合作(可以在本地修改好了,再传上去嘛,相当于版本的更新),然后别人修改好了,你在clone下来,再修改,再上传。

然后上传与下载,可以通过git的命令行来实现。(主要都是关联http地址,也就是你这个仓库的地址)

 

github小白入门上手

标签:别人   实现   article   details   版本   net   com   tail   仓库   

原文地址:https://www.cnblogs.com/1starfish/p/11691320.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!