오류 내용
안드로이드 스튜디오에서 git log를 확인할 수 없거나, commit 및 push가 불가능해질 때가 있습니다. 이때, fatal: detected dubious ownership in repository at '경로' 라는 오류 메시지가 뜨게 됩니다.
🟡 오류 해결하기🟡
git bash에서 다음 명령어를 입력합니다.
git config --global --add safe.directory 경로 입력
'개발 과정 > 문제 해결' 카테고리의 다른 글
R이 import 되지 않을 때 해결 방법 (0) | 2024.11.17 |
---|---|
java.lang.RuntimeException: Unable to instantiate activity 오류 해결 (0) | 2024.11.16 |
Hilt 오류 해결 방법 (0) | 2024.11.14 |
MotionLayout Motion Editor cannot be used 오류 해결하기 (0) | 2024.11.13 |
Git ignore한 폴더/파일이 stage에 올라가 있을 때 없애는 법 (0) | 2024.11.12 |