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

apps:rename removes the git remote instead of renaming it #3109

Open
justinwilaby opened this issue Nov 23, 2024 · 0 comments · May be fixed by #3110
Open

apps:rename removes the git remote instead of renaming it #3109

justinwilaby opened this issue Nov 23, 2024 · 0 comments · May be fixed by #3110

Comments

@justinwilaby
Copy link
Contributor

v9.5.x and earlier

running heroku apps:rename -a OLD_NAME NEW_NAME in a directory where a git remote exists for OLD_NAME causes it to be removed from the remotes instead of renamed.

Repro steps

  1. Add an app to the git remotes heroku git:remote APP_NAME
  2. Verify the heroku remote exists git remote -v
  3. Rename the app heroku apps:rename -a OLD_NAME NEW_NAME
  4. Verify the heroku remote was updated git remote -v

Expected behavior

The heroku remote is updated with the new app name

Actual behavior

The heroku remote is removed

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 a pull request may close this issue.

1 participant