에러 일기

Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier

재원쓰 2023. 2. 21. 23:27

소스트리에서 스테이지에 파일을 올리는 것만 해도 이런 에러가 뜨더라.. 커밋은 당연히 불가능..

 

터미널에서 프로젝트 폴더까지 이동후(.git이 있는 폴더)

rm -f ./.git/index.lock

위 명령어를 입력해준다.

그럼 해결될것이다.