에러메시지

cannot stat 'blahblah' : Permission denied

-> 권한 거부로 인해 명령을 수행할수 없다.





에러 상황

어떤 branch의 작업을 끝내고 master branch로 merge하기 위해, 아래의 명령어를 실행했더니 "허가 거부" 에러가 발생했습니다.

# git checkout master
# git merge {branch이름}




해결 방법

Atom( 또는 실행중인 IDE, 에디터 )을 실행한 상태에서 git merge를 하면 위의 에러가 발생한다고 합니다.

그래서 Atom을 종료하고 git merge를 명령했더니 merge가 잘 되었습니다.




[ 참고 ]

https://stackoverflow.com/questions/37152845/error-cannot-stat-upon-git-pull