Git

GitHub 에러 File exists, Another git process seems to be running in this repository.

쏠솔랄라 2023. 3. 27. 23:40

 

 

허구한날 에러를 선사하는 GitHub입니다

(그래도 사랑해...)

 

 


 

 

FIle exists / Another git process running...

 

 

 

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.

 

오늘의 오류는 

File exists 파일이 존재하고

Another git process seems to be running in this repository. 다른 프로세스가 진행 중이라고...

 

 

에러 해결방법

 

 

.git 안의 index 파일을 삭제해주면 간단히 해결된다고 합니다

rm -f .git/index.lock

 

 

 

 

rm -f 실행 후에는

다시 git add . > git commit > git push 로 업데이트 루틴 다시 실행했을 때 문제 없이 완료됩니다

 

에러 생길 때마다 바로바로 기록해 놓아야겠어요

 

 


 

 

깃헙 시작하기 &

제 기준 그나마 가장 안정화된 깃헙 루틴입니다

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

 

https://developernew.tistory.com/94

 

GITHub 깃헙시작하기 개발자로서의 첫걸음 Git Bash로 관리하는 방법

GitHub을 시작했다고 했더니 현직자 친구로부터 이제 진정한 개발자로서의 첫걸음이라고 농담을 하더라구요 https://git-scm.com/download/win Git - Downloading Package Download for Windows Click here to download the latest

developernew.tistory.com