From 0b7b4d6058613531b27eb0efce4287ce9d9eff2f Mon Sep 17 00:00:00 2001 From: Neal Fultz Date: Wed, 16 Oct 2019 09:24:17 -0700 Subject: [PATCH] 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. --- CONTRIBUTING | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CONTRIBUTING b/CONTRIBUTING index 869a4efd..eeaafc21 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -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