github fork 代码
2018-04-27 本文已影响51人
MTSu1e丶
github fork 代码
第一步:点击页面右上角的Fork代码,如图一:

第二步:根据https把代码clone到你的本地,如图二:

第三步:在你本地的代码中创建一个新的分支,并修改你要change的代码
第四步:git diff查看修改的代码,核对准确之后commit,并push到远程
第五步:回到你clone代码的github的页面刷新,就会出现如图所示的一个"Your recently pushed branches:"下面对应的就是你刚才更改的分支,如图三所示:

第六步:点击Compare & pull requese按钮,跳转到如图四页面:

第七步:查看你里面修改的代码,准确之后点击图四中的create pull requese按钮
成功之后,如图五所示:
