add how_to_use_pull_request
This commit is contained in:
@@ -1,3 +1,31 @@
|
|||||||
# 就是个教程
|
# 就是个教程
|
||||||
|
|
||||||
不会的看一下,会的忽略就完事了。
|
不会的看一下,会的忽略就完事了。
|
||||||
|
|
||||||
|
首先将该仓库 `fork` 到自己的仓库
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
然后在你的仓库中修改该分支
|
||||||
|
|
||||||
|
`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
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
提交后就可以在主项目的 `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)
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 85 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 66 KiB |
Reference in New Issue
Block a user