submodules work on sourceTree when pulling from github, not bitbucket

this is driving me crazy..

so this is a git repo hosted on github that if pulled onto sourceTree, the submodules work like a charm:

however an exact copy of that repo on bitbucket

doesn't seem to be able to show the submodules in source tree.. the settings are all the same! (ie in both .gitmodules and .git/confing) any ideas?

1 answer

1 accepted

0 votes
Answer accepted

The .gitmodules file on the bitbucket repo refer to a dead link:

It looks to me like you moved the parent repo to Bitbucket but not the submodule repo, but you changed the submodule URL anyway, leading to a 404. You'll need to import your mailcore project into BB at that URL to resolve this.

i actually tried what you suggested earlier (see here, and i already have the mailcore repo hosted on BB ) but it still didn't work..

i think it may have to do with a case mismatch.. when i clone the repo it's called 'MailCore' but bitbucket makes it all lowercase.. i'm working on it..

i think i know what it is.. if i click on hosted repositories.. all my github repos show up fine.. but for some reason i can't access my bitbucket one.. if i add a bitbucket repo i get the dreaded 'bitbucket api call failed'.. i had the same problem when i was adding my github account.. but then updateding to the latest sourceTree version (1.5.6) solved the problem..

That error is usually a login issue, often it's something simple like case sensitivity on the user name.

I just tried to clone your repo again and the MailCore part worked fine, it couldn't get three20 though because I don't have access. So is this solved?

yes it is.. sorry for the late reply

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

220 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you