본문 바로가기

CS/Git

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

728x90

잘 사용하던 깃이 갑자기 푸쉬가 안될 경우이다.

 

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.

 

일반적으로 두개의 깃 명령어가 실행된 경우이다. 나는 그런 적 없는데 왜...? 어쨌든 Git Bash에

 

rm -f .git/index.lock

 

명령어를 실행시키면 해결.

'CS > Git' 카테고리의 다른 글

VScode Git 계정 이름 바꾸기  (0) 2024.03.25
Git, 기본사용법 (GitBash, pull, push)  (1) 2022.10.05