Forking a fork of my repo in GitHub

谁说我不能喝 提交于 2019-12-20 00:04:08

问题


I have a repo on GitHub. Someone forked that repo and is doing some work in their fork. I want to fork their fork to help them before they do a pull request to get the repo back into the main repo which I own. Problem is that when I try and fork their for (of my repo) it won't allow me to fork that back into my "area."

What is the paradigm that's typically followed to achieve what I'm trying to do above?


回答1:


I would recommend making a new branch off the branch you are both collaborating on, do the pull request and resolve merge conflicts there, then, when all is well, merge your branch into the development branch you guys are working on.

The way this is normally handled, is he would fetch from you before he does his pull requests and he would resolve his own merge conflicts as he would probably know best and this frees you up from needing to do that. Another option, is to pull and fix conflicts yourself.

In a larger project, there would be one person who has this job, to solve all merge conflicts, In companies, this would be the person selected for doing deployment.

Good luck!

Source: Tech Talk: Linus Torvalds on git

Please watch the source, as it really gave me an understanding on collaboration using git.



来源:https://stackoverflow.com/questions/18306457/forking-a-fork-of-my-repo-in-github

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