The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events