Pull request suggestion(print-branch-links-hook) still have the old URL after changing the Bitbucket server URL
プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。
問題
After changing the Bitbucket URL and updating the base URL, pull request suggestions() in the command prompt still have the old URL.
When the change is pushed to server, the following appears in the the command prompt where in URL still points old one.
remote:
remote: Create pull request for foo-test:
remote: https://<MY OLD URL>/projects/myproj/repos/myrepo/compare/commits?sourceBranch=refs/heads/foo-test\\ remote:
原因
git remote is still pointing to old url
ソリューション
- Do a fresh clone using new URL
set the git remote to new URL
git remote set-url origin http://admin@<new url>/scm/<project>/<repo>.git
最終更新日 2018 年 1 月 31 日
Powered by Confluence and Scroll Viewport.