Unverified 提交 3d897986 authored 作者: Zhiqiang Wang's avatar Zhiqiang Wang 提交者: GitHub

Small fixes to docstrings (#5313)

* Minor fixes of the git checkout new branch * Use em dash to quote * Revert the change of git checkout * Maybe we should up-to-date with the upstream/master?
上级 fee83c16
...@@ -13,7 +13,7 @@ jobs: ...@@ -13,7 +13,7 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
pr-message: | pr-message: |
👋 Hello @${{ github.actor }}, thank you for submitting a 🚀 PR! To allow your work to be integrated as seamlessly as possible, we advise you to: 👋 Hello @${{ github.actor }}, thank you for submitting a 🚀 PR! To allow your work to be integrated as seamlessly as possible, we advise you to:
- ✅ Verify your PR is **up-to-date with origin/master.** If your PR is behind origin/master an automatic [GitHub actions](https://github.com/ultralytics/yolov5/blob/master/.github/workflows/rebase.yml) rebase may be attempted by including the /rebase command in a comment body, or by running the following code, replacing 'feature' with the name of your local branch: - ✅ Verify your PR is **up-to-date with upstream/master.** If your PR is behind upstream/master an automatic [GitHub actions](https://github.com/ultralytics/yolov5/blob/master/.github/workflows/rebase.yml) rebase may be attempted by including the /rebase command in a comment body, or by running the following code, replacing 'feature' with the name of your local branch:
```bash ```bash
git remote add upstream https://github.com/ultralytics/yolov5.git git remote add upstream https://github.com/ultralytics/yolov5.git
git fetch upstream git fetch upstream
......
...@@ -41,22 +41,22 @@ changes** button. All done, your PR is now submitted to YOLOv5 for review and ap ...@@ -41,22 +41,22 @@ changes** button. All done, your PR is now submitted to YOLOv5 for review and ap
To allow your work to be integrated as seamlessly as possible, we advise you to: To allow your work to be integrated as seamlessly as possible, we advise you to:
- ✅ Verify your PR is **up-to-date with origin/master.** If your PR is behind origin/master an - ✅ Verify your PR is **up-to-date with upstream/master.** If your PR is behind upstream/master an
automatic [GitHub actions](https://github.com/ultralytics/yolov5/blob/master/.github/workflows/rebase.yml) rebase may automatic [GitHub actions](https://github.com/ultralytics/yolov5/blob/master/.github/workflows/rebase.yml) rebase may
be attempted by including the /rebase command in a comment body, or by running the following code, replacing 'feature' be attempted by including the /rebase command in a comment body, or by running the following code, replacing 'feature'
with the name of your local branch: with the name of your local branch:
```bash ```bash
git remote add upstream https://github.com/ultralytics/yolov5.git git remote add upstream https://github.com/ultralytics/yolov5.git
git fetch upstream git fetch upstream
git checkout feature # <----- replace 'feature' with local branch name git checkout feature # <----- replace 'feature' with local branch name
git merge upstream/master git merge upstream/master
git push -u origin -f git push -u origin -f
``` ```
- ✅ Verify all Continuous Integration (CI) **checks are passing**. - ✅ Verify all Continuous Integration (CI) **checks are passing**.
- ✅ Reduce changes to the absolute **minimum** required for your bug fix or feature addition. _"It is not daily increase - ✅ Reduce changes to the absolute **minimum** required for your bug fix or feature addition. _"It is not daily increase
but daily decrease, hack away the unessential. The closer to the source, the less wastage there is."_ -Bruce Lee but daily decrease, hack away the unessential. The closer to the source, the less wastage there is."_ Bruce Lee
## Submitting a Bug Report 🐛 ## Submitting a Bug Report 🐛
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论