From: Siraaj Khandkar Date: Mon, 29 Aug 2022 13:41:48 +0000 (-0400) Subject: Add an empty root commit to experiment template X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=dcc0170d68404441449382c7d52924bf852fd551;p=khome.git Add an empty root commit to experiment template --- diff --git a/home/bin/x b/home/bin/x index 5069833..eb5aee2 100755 --- a/home/bin/x +++ b/home/bin/x @@ -12,6 +12,7 @@ then cd "$directory"; printf '# %s\n' "$name" > README; git init >&2 + git commit --allow-empty -m 'Root commit' >&2 git add . >&2 git commit -m 'Initial commit' >&2 echo "$directory";