Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Vivien June 3, 2018

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
Vivien June 3, 2018

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...

KiwiLee July 8, 2018

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.

Like wei50342 likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events