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

After update to 2.6.3.0 "Fatal: cannot use . as an exclude file" Edited

I keep getting this error when opening any repository after updating to the newest version of Sourcetree (on Win 10): 

2018-06-03 16_59_42-Sourcetree.png

I am even getting the error after cloning an empty Bitbucket repository. It's exactly the same error for every repository I open. I can close the error message but not push or pull any changes with a similar error message: 

warning: unable to access '.': Permission denied
fatal: cannot use . as an exclude file

Can somebody please help with this? 

----

Addition: 

I tried uninstalling and deleting all preferences, then reinstalling the older version 2.5.5.0 (which funny enough is the newest version you can download from atlassian.com). But the error still appears. 

1 answer

1 accepted

1 vote
Answer accepted

Fixed: I updated Git, as suggested to v2.17 (as was required with the new Sourcetree version), but forgot to point Sourcetree to the system Git installation. So I guess it was caused by an old Git version...

I had the same problem today. 

The actual solution is to blank out the field Global Ignore List or select a .gitignore that is relevant to your use.

You would have had a rogue . in this field.

Menu: Tools - Options and click the Git tab.

Lee.

Suggest an answer

Log in or Sign up to answer
TAGS
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...

4,902 views 0 12
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