Skip to content

Commit e8e8eac

Browse files
Trotttargos
authored andcommitted
doc: update copy/paste error message in Troubleshooting
In the Troubleshooting portion of the Collaborator Guide, there is a copy/pasted error message. The message is out of date. More recent git contains a more concise and clear message. Update the text to reflect the current git error message. PR-URL: #26652 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]>
1 parent 5c41876 commit e8e8eac

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: COLLABORATOR_GUIDE.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -603,10 +603,9 @@ like this:
603603
To https://github.com/nodejs/node
604604
! [rejected] master -> master (fetch first)
605605
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.
610609
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
611610
```
612611

0 commit comments

Comments
 (0)