Aborting commit due to empty commit message

后端 未结 20 2015
[愿得一人]
[愿得一人] 2020-12-04 09:45

As a newbie git user, when I try to commit my work with

git commit -a -v

and I enter a commit message in my editor, I close the file, and g

20条回答
  •  隐瞒了意图╮
    2020-12-04 10:10

    git config --global core.editor "subl -w" -F 
    

    This helped me after lots and lots of trial and error, hope someone finds it useful.

    I had already symlinked sublime 3 to use as subl command.

    I am completely clueless, for why -F flag outside the " " worked.

提交回复
热议问题