Failed, error: No submodule mapping found in .gitmodules for path 'src/github.com/mattermost/platform'

Hi Bitrise,

I am getting the below error while adding new repository of the gitlab.

Failed, error: No submodule mapping found in .gitmodules for path ‘src/github.com/mattermost/platform’

Hi,

This is an issue in your git repo’s config.

Please check these:

And let us know how it goes!

Yes I have found these URLs while google. But i want to know how to do in bitrise this is the issue,

This issue is not bitrise related, this is an issue in your repository.
Fix it in your repo and it’ll work on bitrise.io :wink:

You should be able to reproduce this issue locally, after doing a clean git clone, into a new directory.

Simply git clone the repository into a brand new directory, e.g. /tmp/...

Yes I have just clone on my local system. There is no issue while cloning

Forgot to tell, please use the --recursive flag for git clone, as this issue seems to be related to a submodule, and a git clone without --recursive might not reproduce the issue.

E.g. try:

git clone --recursive GIT.URL /tmp/git-clone-test

Please tell me the solutions. If you have any

I already did :wink: