• Community
  • Products
  • Sourcetree
  • Questions
  • How to fix this SourceTree error - "fatal: 'submodule' appears to be a git command, but we were not able to execute it. Maybe git-submodule is broken?" on Windows 7?

How to fix this SourceTree error - "fatal: 'submodule' appears to be a git command, but we were not able to execute it. Maybe git-submodule is broken?" on Windows 7?

I have SourceTree (v1.16.14.0) installed on a Windows 7 OS. 

When I try to clone a repo from Stash, I get the following error - 

image2015-3-12 12:58:54.png

I have tried switching from Embedded-Git to System-Git but receive the same error.

Any help/direction is highly appreciated.

Regards,

Saud.

 

2 answers

This widget could not be displayed.

I am not sure about the exact reason/connection, but I could overcome the same issue by launching source tree "as Adminstrator".

Hope it helps you, too.

Regards, Alex

Just to confirm. I was experience the same issue. Running SourceTree “as Administrator” resolve the problem.

This widget could not be displayed.

I'm having a similar issue with "Pull" and "Stash".  I'm on Win7 too and I just installed the latest update of SourceTree this morning (now at 1.6.16.0), but I still can't pull using SourceTree:

image2015-7-13 11:38:39.png

Incidentally, CLI git pull works just fine.

Any suggestions would be welcome.

Matt

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

879 views 2 3
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