Kim Jinung

윈도우 wsl sourcetree detected dubious ownership in repository 본문

Scrap

윈도우 wsl sourcetree detected dubious ownership in repository

Kim Jinung 2023. 2. 23. 15:41
 

How to correct `git` reporting `detected dubious ownership in repository` without adding `safe.directory` when using WSL?

I used git for the last few years in this context: Host = my laptop, windows. WSL enabled Repos live in the Linux side. I access them both from the Linux and the Windows side. I can access the fi...

stackoverflow.com

루트 디렉토리 정해두고 재귀로 모두 허락할 수 있는 방법을 찾다가 실패했다.

대안으로 아래 처럼 와일드 카드 문자 이용해서 모두 허락하는 방법이 있다. 

*보안 문제 주의

git config --global safe.directory *

 

'Scrap' 카테고리의 다른 글

WSL intelliJ에서 Gradle 빌드가 느려지는 문제  (0) 2023.02.23
Jetbrains intelliJ clean uninstall  (0) 2023.02.23
Spring bean  (0) 2023.02.23
MySQL - Count() 함수 다중 필드  (0) 2023.01.21
File storage, Block storage, Object storage  (0) 2023.01.11