• 카테고리

    질문 & 답변
  • 세부 분야

    프론트엔드

  • 해결 여부

    미해결

amend commit 질문

21.12.30 09:36 작성 조회수 239

1

amend commit 

실행하고 insert로 바꿨는데 수정모드 끄는건 어떻게하는건가요 나와지질않네요 

insert랑 replace 상태여서 :wq를 입력못하고있습니다 ㅠ

 

insert에서 못벗어나서 종료하고 reset하고 다시 했는데 

아예 amend commit이 안되네요.. 

E325: ATTENTION

Found a swap file by the name "C:/Users/user/PycharmProjects/git-tes/.git/.COMMIT_EDITMSG.swp"

          owned by: user   dated: Thu Dec 30 09:41:32 2021

         file name: ~user/PycharmProjects/git-tes/.git/COMMIT_EDITMSG

          modified: YES

         user name: user   host name: DESKTOP-C2BR6PG

        process ID: 1916

While opening file "C:/Users/user/PycharmProjects/git-tes/.git/COMMIT_EDITMSG"

             dated: Thu Dec 30 10:00:55 2021

-- More --

 

답변 1

답변을 작성해보세요.

1

수정모드(i)를 끄고 싶을 땐 보통 esc를 누릅니다. 그리고 명령모드로 갈 때 :를 눌러 넘어가게 됩니다

혹시 몰라 아래 링크도 남깁니다 :)

https://deliciouslearning.tistory.com/226