Skip to content

improve: enhance remote configuration error message#965

Merged
aduh95 merged 1 commit intonodejs:mainfrom
tawseefnabi:improve-remote-config-message
Nov 9, 2025
Merged

improve: enhance remote configuration error message#965
aduh95 merged 1 commit intonodejs:mainfrom
tawseefnabi:improve-remote-config-message

Conversation

@tawseefnabi
Copy link
Contributor

  • Suggest 'upstream' as the default remote name
  • Clarify the need to add the remote manually for security
  • Provide a clear example of the git remote add command

- Suggest 'upstream' as the default remote name
- Clarify the need to add the remote manually for security
- Provide a clear example of the git remote add command
Comment on lines +388 to +389
'1. First, add the Node.js core repository as a remote (if not already added):\n' +
' $ git remote add upstream https://github.com/nodejs/node.git\n\n' +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we could simply run git remote -v to check whether it's been added, and only show that message if it hasn't.

@aduh95 aduh95 merged commit ea17768 into nodejs:main Nov 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants