Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I Can't move to sub-module repo via hyper-link in main project repo

Jun Geun Choi September 8, 2020

  

 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.

 

10.png

Figure 1. Main project remote repo in Bitbucket

11.png

Figure 2. Linked page on module remote repo in Bitbucket12.png

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?

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 11, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events