Adding allow-empty command to contributing

Many people will not know about the `allow-empty` flag, and will instead 
lose time googling the "nothing to commit, working tree clean" error message.
This commit is contained in:
Neal Fultz 2019-10-16 09:24:17 -07:00 committed by GitHub
parent a1a63901c1
commit 0b7b4d6058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,3 +12,9 @@ your name or nickname):
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
The command to create an empty commit from the command line is
git commit --allow-empty