본문 바로가기
💻CODING/etc.

[git] Another git process seems to be running in this repository 오류 해결

by 코딩하는 갓디노 2021. 6. 29.

git error

 

Git commit/push 과정 중 
생긴 오류 해결입니다.

 

오류 메시지:

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:
remove the file manually to continue.

 

Another git process seems to be running in this repository 해결 방법

git commit, push 과정 도중 갑자기 에러가 발생하였습니다.
같은 repository에서 다른 git 프로세스가 동작하고 있다는 문구입니다.
해결 방법은 아주 간단합니다. 

해당 위치 터미널에 가서 아래의 명령어를 입력합니다.
index.lock이라는 파일을 제거하면 다음 git 동작이 잘 작동합니다.

rm ./.git/index.lock

 

반응형

댓글