I have a rails app called appname and a remote repo at bitbucket with the same name. I would like to rename it to another_name.
So far, I’ve tried changing the remote repo’s name to another_name, tried git push and it fails. I didn’t try renaming the rails app & its folder though, being afraid that something might break.
What’s the right step to do this?
If you rename your remote repository, you also have to update the remote’s URL in your local git repo:
You can rename the local folder freely without any side-effects.