doc: update main branch name in onboarding.md

PR-URL: https://github.com/nodejs/node/pull/43443
Refs: https://github.com/nodejs/node/issues/33864
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
Feng Yu authored and GitHub committed 2022-06-16 23:22:59 +01:00
1 parent 677bd668b7
commit 2af48c0ef8
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@ onboarding session.
* Add the canonical nodejs repository as `upstream` remote:
* `git remote add upstream git@github.com:nodejs/node.git`
* To update from `upstream`:
* `git checkout master`
* `git checkout main`
* `git fetch upstream HEAD`
* `git reset --hard FETCH_HEAD`
* Make a new branch for each pull request you submit.