doc: update working-with-native-branches information

cherry-picked from
  https://github.com/webrtc/webrtc-org/pull/242

BUG=webrtc:11266

No-try: true
Change-Id: I0fd725d3bd30805416fd8a54f3d7a772772715f0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/197811
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#32842}
This commit is contained in:
Philipp Hancke 2020-12-16 09:34:57 +01:00 committed by Commit Bot
parent 5686e3457e
commit ce42cbeba8

View File

@ -134,10 +134,10 @@ $ git branch -r
``` ```
To create a local branch tracking a remote release branch (in this example, To create a local branch tracking a remote release branch (in this example,
the 43 branch): the branch corresponding to Chrome M80):
``` ```
$ git checkout -b my_branch refs/remotes/branch-heads/43 $ git checkout -b my_branch refs/remotes/branch-heads/3987
$ gclient sync $ gclient sync
``` ```
@ -159,11 +159,13 @@ $ # verify the current branch becomes REMOTE:origin/master
The above is untested and unsupported, but it might help. The above is untested and unsupported, but it might help.
Commit log for the branch: [https://webrtc.googlesource.com/src/+log/branch-heads/43][m43-log] Commit log for the branch: [https://webrtc.googlesource.com/src/+log/branch-heads/3987][m80-log]
To browse it: [https://webrtc.googlesource.com/src/+/branch-heads/43][m43] To browse it: [https://webrtc.googlesource.com/src/+/branch-heads/3987][m80]
For more details, read Chromium's [Working with Branches][chromium-work-branches] and For more details, read Chromium's [Working with Branches][chromium-work-branches] and
[Working with Release Branches][chromium-work-release-branches] pages. [Working with Release Branches][chromium-work-release-branches] pages.
To find the branch corresponding to a Chrome release check the
[Chromium Dashboard][https://chromiumdash.appspot.com/branches].
## Contributing Patches ## Contributing Patches
@ -264,5 +266,5 @@ Target name `turnserver`. Used for unit tests.
[depot-tools]: http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up [depot-tools]: http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up
[rfc-5389]: https://tools.ietf.org/html/rfc5389 [rfc-5389]: https://tools.ietf.org/html/rfc5389
[rfc-5766]: https://tools.ietf.org/html/rfc5766 [rfc-5766]: https://tools.ietf.org/html/rfc5766
[m43-log]: https://webrtc.googlesource.com/src/+log/branch-heads/43 [m80-log]: https://webrtc.googlesource.com/src/+log/branch-heads/3987
[m43]: https://webrtc.googlesource.com/src/+/branch-heads/43 [m80]: https://webrtc.googlesource.com/src/+/branch-heads/3987