mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
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:
parent
677bd668b7
commit
2af48c0ef8
|
|
@ -41,7 +41,7 @@ onboarding session.
|
||||||
* Add the canonical nodejs repository as `upstream` remote:
|
* Add the canonical nodejs repository as `upstream` remote:
|
||||||
* `git remote add upstream git@github.com:nodejs/node.git`
|
* `git remote add upstream git@github.com:nodejs/node.git`
|
||||||
* To update from `upstream`:
|
* To update from `upstream`:
|
||||||
* `git checkout master`
|
* `git checkout main`
|
||||||
* `git fetch upstream HEAD`
|
* `git fetch upstream HEAD`
|
||||||
* `git reset --hard FETCH_HEAD`
|
* `git reset --hard FETCH_HEAD`
|
||||||
* Make a new branch for each pull request you submit.
|
* Make a new branch for each pull request you submit.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user