else Study

[git]Please enter a commit message to explain why this merge is necessary, especially if it merges an updated upstream into a topic branch. 문구 해결

Wootaeng 2023. 1. 16. 15:34
728x90

git bash 오류(?) 메세지

             

git 을 이용해 fetch 작업 및 pull 작업시에 보이는 화면이다

 

vim 인지.. 리눅스 계열 화면 같아서 처음 봤을 때는 당황을 했지만 

 

해결하고 나니 너무 간단해서 간단하게 기록을 남기고자 한다

 

1. Git bash 를 이용해서 pull 상황 시 merge 사항이 발생하면 보이는 화면

 

2. 왜 해당 내용이 merge 가 되어야 하는지 내용을 commit 하라는 내용

 

메세지를 입력하지 않을 때 

1) ESC 클릭후 :q 입력후 엔터치면 자동으로 메시지가 입력되면서 merge

2) 메세지 직접 입력

1. press "i" 

2. write your merge message

3. press "esc"

4. write ":wq"

5. then press enter

 

 

 

참고 자료

 

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

I am using Git. I did a pull from a remote repo and got an error message: Please enter a commit message to explain why this merge is necessary, especially if it merges an updated upstream into a

stackoverflow.com

 

 

 

728x90
반응형

'else Study' 카테고리의 다른 글

WebRTC 넌 누구니  (0) 2021.09.08
Eclipse - Spring Mybatis 환경 설정하기  (0) 2021.01.22