From dcc0170d68404441449382c7d52924bf852fd551 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Mon, 29 Aug 2022 09:41:48 -0400 Subject: [PATCH] Add an empty root commit to experiment template --- home/bin/x | 1 + 1 file changed, 1 insertion(+) 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"; -- 2.20.1