git config --global core.editor "atom --wait"
我这样做是为了让atom作为编辑器,当我不添加提交消息时,git确实打开了atom.我的问题是我不知道接下来该做什么?我尝试在第一行写一条消息,保存,然后关闭,但它根本没有提交.
git commit atom-editor
atom-editor ×1
commit ×1
git ×1