首页 > 代码库 > update github project
update github project
when fork other‘s project in github,to obtain the newest version,you need to do:
clone your fork project into local path:
git clone https://github.com/your_github/EventBus.git
try git remove -v,if you can only see yourself origin(fetch/push),then you have to add the man repo manually:
git remote add upstream https://github.com/greenrobot/EventBus.git
then,merge the main repo
git fetch upstream
git merge upstream/master
so far,you local project is the newset version.but your github remain the same.so you have to push the newest to github.
git push origin master
本文出自 “whatever957” 博客,请务必保留此出处http://whatever957.blog.51cto.com/6835003/1855217
update github project
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。