When a repository has been renamed a message is returned in the response for push requests made against the previous URL:
along with the updated URL.
This message is returned when hosting is done over http and ssh, but not when hosting is done over https.
- Configure Bitbucket Server to host using https
- Rename a repository
- Try pushing changes to the repository using the previous URL
The message about "The repository has moved" should be returned.
The message is not returned.
Currently there is no known workaround for this behavior. A workaround will be added here when available