Sunday, September 13, 2020

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

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

New git users scared about this message 😳, don't worry, actually it's not a Git error message, it's the editor as git uses your default editor.





To solve this:

  1. Press "i" (i for insert)
  2. write your merge message
  3. Press "ESC" (escape)
  4. write ":wq" (write & quit)
  5. then press enter

0 Comments:

Post a Comment