зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1561406 [wpt PR 17369] - [docs] Simplify recommendation for advanced usage, a=testonly
Automatic update from web-platform-tests [docs] Simplify recommendation for advanced usage The steps listed in the "Tips & Tricks" section largely summarize the instructions in the preceeding sections with two exeptions: 1. the recommendation to rebase (which lacks a definition) 2. the warning against modifying the branch following submission (which conflicts with a prior section) Remove the steps and expand the recommendation of Pro Git. -- wpt-commits: 4b93a2e9c9f904265ae755291ca253045adb3f66 wpt-pr: 17369
This commit is contained in:
Родитель
33c7d927d8
Коммит
2e0b4cda71
|
@ -291,22 +291,12 @@ Alternatively, you can delete the branch on the command line.
|
|||
|
||||
$ git push origin --delete <branchName>
|
||||
|
||||
## Tips & Tricks
|
||||
## Further Reading
|
||||
|
||||
The following workflow is recommended:
|
||||
|
||||
1. Start branch based on latest w3c/master
|
||||
2. Write tests
|
||||
3. Rebase onto latest w3c/master
|
||||
4. Submit tests
|
||||
5. Stop fiddling with the branch base until review is done
|
||||
6. After the PR has been accepted, delete the branch. (Every new PR should
|
||||
come from a new branch.)
|
||||
7. Synchronize your fork with the W3C repository by fetching your upstream and
|
||||
merging it. (See '[Configure Remote / Upstream](#configure-remote-upstream)')
|
||||
|
||||
You need to be able to set up remote upstream, etc. Please refer to [Pro Git
|
||||
Book][git-book] and enjoy reading.
|
||||
Git is a very powerful tool, and there are many ways to achieve subtly
|
||||
different results. Recognizing when (and understanding how) to use other
|
||||
approaches is beyond the scope of this tutorial. [The Pro Git Book][git-book]
|
||||
is a free digital resource that can help you learn more.
|
||||
|
||||
## Working with Pull Requests as a reviewer
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче