ERROR

WSL환경에서 git pull시 cannot open .git/FETCH_HEAD: Permission denied

ㅇㄱ9 2021. 9. 27. 20:00
728x90

git pull 시도시 다음과 같은 권한 문제 발생 

error: cannot open .git/FETCH_HEAD: Permission denied

 

시도 1. -> 실패

sudo chown -R $USER .git/

 

시도 2. -> 성공

sudo chmod a+rwx .git/FETCH_HEAD
728x90
반응형