Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sourcetree ignoring safe directoy

Ronald Blaas
September 19, 2024

I have a Local git server where a repository is setyup to be used with multiple users.

So I ran into the error about ownership not being correct.

I tried adding the safe url to gitconfig 

but Sourcetree keeps complaining about the unsafe directory

 

What else can I do ? 

 

Running on MacOS

gitconfig: 

[safe]

directory = *

1 answer

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
March 23, 2026

Hi @Ronald Blaas ,

did u try to go to specific repo and run the following command 

git config --global --add safe.directory "$(pwd)"

pwd is the absolute path

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events