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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

26,942 views 26 12
Join discussion

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