greenhelix
greenhelix
greenhelix
06-17 20:58
  • All (229)
    • Algorithm (118)
      • Algorithm (17)
      • Graph (0)
      • Core (6)
      • Python (18)
      • PythonSnippet (4)
      • Java (59)
      • Kotlin (14)
    • Project (0)
    • Study (8)
      • License (5)
      • EIP (3)
    • Programming (63)
      • Android (41)
      • Flutter (1)
      • Bugs Life (21)
      • Linux (0)
    • Tech (32)
      • Tech (17)
      • Drone (4)
      • Hacking (11)
    • Life (6)
      • INGRESS (1)
      • 심시티빌드잇 (0)
250x250

티스토리

hELLO · Designed By 정상우.
greenhelix

greenhelix

[GitHub] a lock file already exists in the repository, which blocks this operation from completing.
Programming/Bugs Life

[GitHub] a lock file already exists in the repository, which blocks this operation from completing.

2020. 8. 27. 23:52

a lock file already exists in the repository, which blocks this operation from completing.

Git_Hub :: 갑자기 커밋이나 푸쉬 풀 안되고 이러한 메세지 뜰경우 해결방법

1. 일단 뭔가 부딪히는 현상같은거니 lock파일 삭제 걍 해야함!

2. 커밋이든 뭐든 하려는 해당 폴더로 직접 이동

3. 해당 폴더에서 우클릭 - here git bash 로 들어간다.

4. 해당 명령어를 작성해서 lock파일을 그냥 지워버린다. \

rm -rf ./.git/index.lock

5. git desktop 이거나 vs라면 한번 껏다 킨다. 

6. 정상 가동되고, 부딫히는 파일은 desktop같은 경우 물어봐준다. 그 중 내가 원하는 방법을 선택하면 끝. 

도움이 빠르게 되었다면 

공감만 눌러주고 가주면 좋겠어요. (흔적만이라도 남겨줘...)

 

참고

https://kodlogs.com/34159/a-lock-file-already-exists-in-the-repository-which-blocks-this-operation-from-completing

 

A lock file already exists in the repository, which blocks this operation from completing. - Kodlogs

Problem : I am new to GIT. I have recently created a new repository with github desktop but I couldn’t add local repository for some reason in my react app. When I try to commit I get the error message as follows: “A lock file already exists in the rep

kodlogs.com

 

728x90
반응형
저작자표시 비영리 변경금지 (새창열림)

'Programming > Bugs Life' 카테고리의 다른 글

[Android] Button 위치 에러 :: [This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime unless you add the constraints.]  (0) 2020.10.09
[VS] Cannot make a static reference to the non-static method ..... from the type ... Java(603979977)  (0) 2020.08.13
[Flutter] :: Error#04 => 안드로이드 스튜디오 업데이트 후 플러그인이 업데이트가 안된다?  (0) 2020.06.12
    'Programming/Bugs Life' 카테고리의 다른 글
    • [Android] Firebase & gradle 버전 충돌
    • [Android] Button 위치 에러 :: [This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime unless you add the constraints.]
    • [VS] Cannot make a static reference to the non-static method ..... from the type ... Java(603979977)
    • [Flutter] :: Error#04 => 안드로이드 스튜디오 업데이트 후 플러그인이 업데이트가 안된다?
    greenhelix
    greenhelix
    개발에 관한 것들과 개인적인 것을 담는 블로그

    티스토리툴바