강의

멘토링

커뮤니티

Inflearn Community Q&A

No author

This post's author information has been deleted.

All-in-one basics class for every developer's practice

[amend commit & rebase -i] I want to change the previously stacked commits.

amend commit 질문

Written on

·

461

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 --

 

dockerarchitecturegitpythonooptdd동시성cicd소프트웨어-테스트

Answer 1

1

grab님의 프로필 이미지
grab
Instructor

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

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

https://deliciouslearning.tistory.com/226

No author

This post's author information has been deleted.

Ask a question