-
Notifications
You must be signed in to change notification settings - Fork 27
github如何向开源项目提交pr #19
Copy link
Copy link
Open
Labels
Description
-
fork 到自己的仓库
-
git clone 到本地
-
上游建立连接
git remote add upstream 开源项目地址 -
创建开发分支 (非必须)
git checkout -b dev -
修改提交代码
git statusgit add .git commit -mgit push origin branch -
同步代码三部曲
git fetch upstreamgit rebase upstream/mastergit push origin master -
提交pr
去自己github仓库对应fork的项目下new pull request
Reactions are currently unavailable