카테고리 없음
[git] fatal: detected dubious ownership in repository at ''
냐옴
2023. 7. 18. 17:29
아래 오류가 발생하는 경우
$ git status
fatal: detected dubious ownership in repository at '/my/dir/path'
To add an exception for this directory, call:
git config --global --add safe.directory /my/dir/path
아래 명령을 실행해준다
git config --global --add safe.directory /my/dir/path