1

I'm following this YouTube guide on deploying R blogdown sites with GitHub and Netlify. At the 8:00 minute mark I have to commit changes. When I do with R Studio's wizard I get this error:

>>> git commit -F /tmp/Cjwox9JEZ8/git-commit-message-931l81328473.txt
Aborting commit due to empty commit message.

What should I do to move forward? My OS is Ubuntu 18.04, but I also have access to Windows 10.

Display name
  • 4,153
  • 5
  • 27
  • 75
  • 2
    Did you enter a message in the "commit message" box in the top right of the wizard? – Marius Mar 19 '19 at 00:57
  • I left the comment field blank. That was the issue. I put some generic comments in the comment field and now everything is working fine. I guess the error message makes more sense now that I understand the original problem. – Display name Mar 19 '19 at 01:27

1 Answers1

1

Note: the error message is the same when using Git directly in command line.

That is why the video clearly shows a message being entered in R Studio.

Only git commit --allow-empty-message would allow you to skip entering a message (in CLI only, not in R Studio), and that option is there only for use by foreign SCM interface scripts.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Seems a message should not be required. If nothing is entered automatically output "NA" or maybe "No message entered". Maybe there's a good reason for requiring a message. I'm hardly familiar with version control. Thanks for the answer. – Display name Mar 19 '19 at 15:38