1.打开你的github fork repo;
2.点击Pull request;
3.点击new pull request.默认情况下,github会比较original/your fork,这时应该不会有任何输出,因为你并没有做过任何变更;
4.点击switching the base.这时github将反过来比较yourfork/original,这时你将看到original相对你fork时的所有commit;
5.点击create a pull request for this comparison,这时将会反过来向你的repo提交一个pull request;
6.这时你作为你自己fork的repo的owner,你就可以点击confirm the merge,
过程举例:
New pull request

switching the base

create pull request



Merge pull request
拉到页面下方。

Confirm merge


网友评论