Reference "main" branches instead of "master" branches.
Both WebRTC and Chromium have migrated from the "master" to the "main" branch. TBR=hta@webrtc.org Bug: None Change-Id: I2b5e6973bdd8fdc9c1bd96e2747a8a9ac2630b14 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226080 Commit-Queue: Fanny Linderborg <linderborg@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34475}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
621002e39f
commit
0d2dc1f38f
@ -9,7 +9,7 @@ pages for build instructions and example applications specific to these mobile p
|
||||
|
||||
First, be sure to install the [prerequisite software][webrtc-prerequisite-sw].
|
||||
|
||||
[webrtc-prerequisite-sw]: https://webrtc.googlesource.com/src/+/refs/heads/master/docs/native-code/development/prerequisite-sw/index.md
|
||||
[webrtc-prerequisite-sw]: https://webrtc.googlesource.com/src/+/main/docs/native-code/development/prerequisite-sw/index.md
|
||||
|
||||
|
||||
## Getting the Code
|
||||
@ -44,7 +44,7 @@ $ git config branch.autosetuprebase always
|
||||
|
||||
```
|
||||
$ cd src
|
||||
$ git checkout master
|
||||
$ git checkout main
|
||||
$ git new-branch your-branch-name
|
||||
```
|
||||
|
||||
@ -58,11 +58,11 @@ make sure you're logged in. The quota is much larger for logged in users.
|
||||
Update your current branch with:
|
||||
|
||||
```
|
||||
$ git checkout master
|
||||
$ git pull origin master
|
||||
$ git checkout main
|
||||
$ git pull origin main
|
||||
$ gclient sync
|
||||
$ git checkout my-branch
|
||||
$ git merge master
|
||||
$ git merge main
|
||||
```
|
||||
|
||||
## Building
|
||||
@ -168,7 +168,7 @@ $ git checkout <hash>
|
||||
$ cd ~/dev/webrtc/src
|
||||
$ gclient sync
|
||||
$ # When done, go back to depot_tools, git reset --hard, run gclient again and
|
||||
$ # verify the current branch becomes REMOTE:origin/master
|
||||
$ # verify the current branch becomes REMOTE:origin/main
|
||||
```
|
||||
|
||||
The above is untested and unsupported, but it might help.
|
||||
@ -273,8 +273,8 @@ Target name `turnserver`. Used for unit tests.
|
||||
[ninja-build-rules]: https://gn.googlesource.com/gn/+/master/docs/reference.md#the-all-and-default-rules
|
||||
[gn]: https://gn.googlesource.com/gn/+/master/README.md
|
||||
[gn-doc]: https://gn.googlesource.com/gn/+/master/docs/reference.md#IDE-options
|
||||
[webrtc-android-development]: https://webrtc.googlesource.com/src/+/refs/heads/master/docs/native-code/android/index.md
|
||||
[webrtc-ios-development]: https://webrtc.googlesource.com/src/+/refs/heads/master/docs/native-code/ios/index.md
|
||||
[webrtc-android-development]: https://webrtc.googlesource.com/src/+/main/docs/native-code/android/index.md
|
||||
[webrtc-ios-development]: https://webrtc.googlesource.com/src/+/main/docs/native-code/ios/index.md
|
||||
[chromium-work-branches]: https://www.chromium.org/developers/how-tos/get-the-code/working-with-branches
|
||||
[chromium-work-release-branches]: https://www.chromium.org/developers/how-tos/get-the-code/working-with-release-branches
|
||||
[webrtc-contributing]: https://webrtc.org/support/contributing/
|
||||
@ -283,4 +283,4 @@ Target name `turnserver`. Used for unit tests.
|
||||
[rfc-5766]: https://tools.ietf.org/html/rfc5766
|
||||
[m80-log]: https://webrtc.googlesource.com/src/+log/branch-heads/3987
|
||||
[m80]: https://webrtc.googlesource.com/src/+/branch-heads/3987
|
||||
[fuzzers]: https://chromium.googlesource.com/external/webrtc/+/refs/heads/master/test/fuzzers/
|
||||
[fuzzers]: https://webrtc.googlesource.com/src/+/main/test/fuzzers/
|
||||
|
||||
@ -54,7 +54,7 @@ need to install the NDK/SDK separately.
|
||||
[depot-tools]: https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up
|
||||
[git]: http://git-scm.com
|
||||
[install-build-deps]: https://cs.chromium.org/chromium/src/build/install-build-deps.sh
|
||||
[chromium-linux-build-instructions]: https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md
|
||||
[chromium-win-build-instructions]: https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
|
||||
[chromium-linux-prerequisites]: https://chromium.googlesource.com/chromium/src/+/master/docs/linux/build_instructions.md#notes
|
||||
[chromium-android-build-build-instructions]: https://chromium.googlesource.com/chromium/src/+/master/docs/android_build_instructions.md
|
||||
[chromium-linux-build-instructions]: https://chromium.googlesource.com/chromium/src/+/main/docs/linux/build_instructions.md
|
||||
[chromium-win-build-instructions]: https://chromium.googlesource.com/chromium/src/+/main/docs/windows_build_instructions.md
|
||||
[chromium-linux-prerequisites]: https://chromium.googlesource.com/chromium/src/+/main/docs/linux/build_instructions.md#notes
|
||||
[chromium-android-build-build-instructions]: https://chromium.googlesource.com/chromium/src/+/main/docs/android_build_instructions.md
|
||||
|
||||
Reference in New Issue
Block a user