• 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

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.

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

791 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