The remote repository name was changed and I need to update my local repository to point this new remote repository. I tried setting the remote repo url like
git remote set-url origin ssh://git@bitbucket<url to remote repo>.git
but this does not work I tried using the intellij to update the project but I get
fatal: remote error: Repository not found
The requested repository does not exist, or you do not have permission to
access it.
if i try to fetch from the gitbash, I get the same message. How to make the local repository point this name changed repo.