Others/Git

[Git] Please enter a commit message to explain why this merge is necessary, especially if it merges an updated upstream into a topic branch

아지송아지 2022. 2. 5. 10:58

Please enter a commit message to explain why this merge is necessary,
especially if it merges an updated upstream into a topic branch.

 

git merge를 하다가 에러가 발생하였습니다.

왜 merge를 할 건지 commit 메시지를 남기라고 합니다.

 

  1. i를 누른다. (입력 모드로 넘어갑니다.)
  2. merge에 대한 메시지를 입력한다.
  3. esc를 누른다.
  4. :wq를 입력. (esc와 :를 누르면 마지막행 모드가 됩니다. "wq는 저장 후 종료한다"라는 뜻입니다.)
  5. enter를 누른다.

 

참고 : https://stackoverflow.com/questions/19085807/please-enter-a-commit-message-to-explain-why-this-merge-is-necessary-especially

'Others > Git' 카테고리의 다른 글

Git Commit Message 규칙  (0) 2022.03.01
Git 기본적인 명령어 간단 정리  (0) 2022.02.04