It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sourcetree git cloning warning: templates not found

st Mar 05, 2014

Using embedded-git v1.8.4.2 in sourcetree, when i clone repository i receive this warning:

warning: templates not found /usr/local/git/share/git-core/templates

Welcome your advice...something related to PATH settings?

5 answers

11 votes
Gordon Kam Mar 08, 2014

I have the same problem when cloning the Git repo from bitbucket. I just let it continue running for 5-10 minutes, it will clone the repo eventually. This is what I get afterwards.

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree submodule update --init --recursive

Completed successfully

3 votes
st Mar 24, 2014

Thanks for replying. Tried but waiting didn't resolve. Closed Sourcetree and just used git in terminal and cloning works perfectly. So there must be something with Sourcetree. Will stick to using git in terminal.

1 vote
Chris Bennell Dec 21, 2015

I had the same problem, I saw that it had created the folder and the hidden git subfolder but nothing else. I cancelled and chose the "checkout existing" tab and selected the folder it had just created, then clicked checkout and it pulled the source down right away.

Shakhawat Amin Aug 15, 2018

Hello @Chris Bennell,
I did not yet your answer. Can you explain a bit. How to choose "checkout existing"?

0 votes
Manjunath Basaralu Srinivasa Atlassian Team Jun 15, 2017

You can try using system git if SourceTree is using embedded git in Preference window -> Git and see if it works.

Anil Kapil Jun 29, 2018

Thanks a lot MBS. Your comments helped me as clone wasn't working for me using both source tree and bash. But changing embedded to system helped me. 

Azadeh Brownlee I'm New Here Jan 19, 2019

Same here, was experiencing same issue and works perfectly now. Thanks!

0 votes
Muhammad Arif Aug 31, 2018

Try downloading repository with GitHub Desktop application.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

464 views 0 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you