Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-6527

Working with git submodules (BB-7717)

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      When I add a submodule in my repo like this:

      git submodule add https://user@bitbucket.org/user/submodulerepo.git

      In my .gitmodules file the url parameter ends with a trailing .git extension, wich causes clicking in submodule link in the source browser in bitbucket to end in a 404 page.

      Adding the submodule without the .git extension solves this problem

      git submodule add https://user@bitbucket.org/user/submodulerepo

      I don't know if this is the default behaviour or if it is a bug. I used to work with github and when I open the URL github.com/user/repo.git it redirects me to github.com/user/repo

      Cheers!

        Attachments

          Activity

            People

            Assignee:
            6995b9ed1710 evzijst
            Reporter:
            ricardocasares rcasares
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: