No submodule mapping found in .gitmodules for path 'server/simple_server'

Every time I do a `git pull` from SourceTree, I receive the following message:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree submodule update --init --recursive 
No submodule mapping found in .gitmodules for path 'server/simple_server'
Completed with errors, see above

However, preceding the above message, the pull works as expected and everything is fine (code pulls, auto-merge, etc works as expected). This happens for every repo I've cloned using SourceTree. If I use the CLI to do a `git pull`, no submodule checks are performed and so I never see the above ('error') message. Why is SourceTree performing this extra step in the git pull (which does not happen from the CLI). I've gone through every possible option in SourceTree preferences.

I'm running SourceTree on a Mac now, but I had a (Windows) PC last week (and prior) running SourceTree and received the same errors – this appears to be a (default) feature of `git pull` in SourceTree, regardless of platform. And, once again, only happens via the GUI, not CLI – on all of my cloned repos.

Any advice would be appreciated. I hate seeing a false negative in my git pulls while using SourceTree.

1 answer

I am getting this too, but only for certain git repositories.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,205 views 4 2
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