Files
awesome-ouc-cs/how_to_use_pull_requests.md
T
2021-11-05 19:56:29 +08:00

31 lines
842 B
Markdown

# 就是个教程
不会的看一下,会的忽略就完事了。
首先将该仓库 `fork` 到自己的仓库
![](./img/fork.png)
然后在你的仓库中修改该分支
`git clone https://github.com/your_user_name/awesome-ouc-cs.git`
按照 project 的格式加入自己开源项目的索引后提交
```
git add *
git commit -m "some useful message"
git push
```
`Pull requests` 的页面发起 PR
![](./img/pull_request.png)
提交后就可以在主项目的 `Pull requests` 里看到自己发起的 PR,之后等待仓库所有者合并即可。
## 参考链接
- [Pull Request 的命令行管理](http://www.ruanyifeng.com/blog/2017/07/pull_request.html)
- [官方文档](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)