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:

https://github.com/abbood/remailPOP3

however an exact copy of that repo on bitbucket

https://bitbucket.org/abakhach/breeze

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

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

https://abakhach@bitbucket.org/abakhach/mailcore.git

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

709 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot