I\'m in the process of learning github on mac (command-line) and whenever I do git pull origin master
i get this
# Please enter a commit message
I fixed this problem by executing following steps
Remove #MERGE_MSG#
rm .git/\#MERGE_MSG#
Remove MERGE_HEAD
rm .git/MERGE_HEAD
Additionally, I explicitly set git's editor to an editor that I am familiar with vim (you can set nano)
`git config --global core.editor "vim"`
Run this command
git config --global core.editor "gedit"
Add your message in this file and save it. Go back pull now.