首页 > Web开发 > 详细

在eclipse中使用git clone 别人共享在Github的代码和上传到自己的仓库!

时间:2018-12-08 22:18:11      阅读:214      评论:0      收藏:0      [点我收藏+]

原文地址:http://www.itdaan.com/blog/2014/10/24/ff5e03b5cefef19e1b6fbb7b49809846.html
1.在eclipse中安装git:
打开eclipse 的Help>Install New Software.打开如图:
在Name中随便填一个git名字,Location填写 http://download.eclipse.org/egit/updates/

技术分享图片

点击OK,回到图中背后的窗口中,勾选Name下的两个勾,记得把最下面Contact all update sites during install to find required software去掉(如果你网速很好的话可以不用去掉),OK,Next>Next,接受协议,然后点击安装。安装完成如果有提示重启则重启,安装完毕。

 

2.从eclipse的git 克隆别人分享的代码:

在Package Explorer空白处右击,选择Import>Git>Projects from Git,Next,选择URI(如果已经有本地的仓库久选local),打开如图:输入URI:https://github.com/ChineseKeZhenxu/android.git  。由于是clone别人的代码,所以不需要填写User和Password,直接Next,选择保存路径,Next完成clone。

技术分享图片

技术分享图片

技术分享图片

技术分享图片

技术分享图片

在eclipse中使用git clone 别人共享在Github的代码和上传到自己的仓库!

原文:https://www.cnblogs.com/smfx1314/p/10089073.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!