From d5ea7cc3f1983eda862220b8d275425b7f28a4b0 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Fri, 5 Aug 2022 13:29:34 -0700 Subject: [PATCH] :construction: Added check for README and added to sample README --- scripts/bgit | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/bgit b/scripts/bgit index 336c5d05..0aa43bce 100755 --- a/scripts/bgit +++ b/scripts/bgit @@ -52,7 +52,9 @@ if [ $numrepos -eq 0 ] ; then # Creates a default README.md - echo -e "## A Simple README\n\nSome Text" > README.md + if [ ! -f "README.md" ] ; then + echo -e "## A Simple README\n\nSome Text\n\n__Some Checklist__\n\n- [x] Completed task\n- [ ] Incomplete task" > README.md + fi # Creates a default .gitignore echo -e "node_modules\n*.env\n*.out\n.pretterrc\n.gitignore" > .gitignore # Initializes git repository cwd...