doc: update copy/paste error message in Troubleshooting · nodejs/node@e8e8eac (original) (raw)

Original file line number Diff line number Diff line change
@@ -603,10 +603,9 @@ like this:
603 603 To https://github.com/nodejs/node
604 604 ! [rejected] master -> master (fetch first)
605 605 error: failed to push some refs to 'https://github.com/nodejs/node'
606 -hint: Updates were rejected because the remote contains work that you do
607 -hint: not have locally. This is usually caused by another repository pushing
608 -hint: to the same ref. You may want to first integrate the remote changes
609 -hint: (e.g. 'git pull ...') before pushing again.
606 +hint: Updates were rejected because the tip of your current branch is behind
607 +hint: its remote counterpart. Integrate the remote changes (e.g.
608 +hint: 'git pull ...') before pushing again.
610 609 hint: See the 'Note about fast-forwards' in 'git push --help' for details.
611 610 ```
612 611