Add an empty root commit to experiment template
authorSiraaj Khandkar <siraaj@khandkar.net>
Mon, 29 Aug 2022 13:41:48 +0000 (09:41 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Mon, 29 Aug 2022 13:41:48 +0000 (09:41 -0400)
home/bin/x

index 5069833..eb5aee2 100755 (executable)
@@ -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";
This page took 0.019845 seconds and 4 git commands to generate.