Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle if there's no remote for the upstream repo #130

Open
ecraig12345 opened this issue Aug 29, 2019 · 0 comments
Open

Handle if there's no remote for the upstream repo #130

ecraig12345 opened this issue Aug 29, 2019 · 0 comments

Comments

@ecraig12345
Copy link
Member

ecraig12345 commented Aug 29, 2019

If the user hasn't configured a git remote for the main/upstream repo, beachball should detect this and show an error instructing how to add a remote. Something like:

Could not find a git remote for this package's [main/upstream/???] repo. Run the
following command to add the remote, then try generating change files again:

    git remote add upstream <url here>

(I'm not sure what the standard term is for an original repo when you're working from a fork, and of course the other wording is negotiable too.)

Inspired by discussion starting at microsoft/fluentui#10294 (comment) trying to debug why too many change files were generated for a PR.

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

No branches or pull requests

1 participant