현상
commit 을 하려던 중 잘되던 git이 해당 에러를 내뱉었다.
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 폴더에가서 index.lock 파일 삭제함
커맨드로 진행하는 경우 해당 git 경로로 들어가서 rm -f ./.git/index.lock 입력
반응형
'Programming > 삽질기록' 카테고리의 다른 글
[object Object] 출력하기 (0) | 2024.10.23 |
---|---|
Apexchart 데이터 0일때 차트에 나타내기/감추기(chart show/hide) (2) | 2024.10.17 |
스프링부트 SecureRandom 예제 (0) | 2023.11.20 |
PSQLException: The column index is out of range: 5, number of columns: 4 에러 해결 (0) | 2023.07.28 |
인텔리제이에서 Git Branch 생성(브랜치 생성) (0) | 2023.07.28 |