We are running a project that has two modules. So we made three repos, main project, module1, module2 and added submodules in main project repo against module1, module2 repos.
Then we committed main project into remote repo on Bitbucket and we could check submodules on Bitbucket. But we clicked submodule's link then it showed us error page.
Figure 1. Main project remote repo in Bitbucket
Figure 2. Linked page on module remote repo in Bitbucket
Figure 3. Module's commit info in Bitbucket
Module's text has hyper-link in main project repo. We click that text then it turns into module's page. But it shows us not found page.
So we checked module's commit info and found something. Linked page's commit number had very long length but commit page's commit number had just 7 length.
Probably, does it cause that problem? or anything else?
Hi Jun Geun Choi,
I see that you opened a ticket with the support team as well and that you have managed to resolve the issue!
I just wanted to add the solution here in case anyone else comes across your question because they face the same issue.
If I understand correctly, the issue was with the URL used for the submodule in the .gitmodules file.
The URL used originally for the submodule and gave this error was
https://bitbucket.org/workspace-id/repo-slug/src/master/
While using the following URL solved the issue for you:
https://username@bitbucket.org/workspace-id/repo-slug.git
Kind regards,
Theodora
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.