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

[ENHANCEMENT] heroku git:remote fails with unhelpful message when not a git repository #3248

Open
justinwilaby opened this issue Mar 10, 2025 · 0 comments

Comments

@justinwilaby
Copy link
Contributor

When a user executes heroku git:remote --app APP_NAME in the wrong cwd, the CLI fails with a "not a github repository". This error message does not provide enough details on how to remedy or correct the error. This enhancement is to add better, more clear messaging.

Something like: " is not a git remote. Please re-run this command in a git initialized directory"

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