🚧 Added check for README and added to sample README
This commit is contained in:
parent
9c49d38f1a
commit
d5ea7cc3f1
1 changed files with 3 additions and 1 deletions
|
|
@ -52,7 +52,9 @@ if [ $numrepos -eq 0 ] ; then
|
||||||
|
|
||||||
|
|
||||||
# Creates a default README.md
|
# 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
|
# Creates a default .gitignore
|
||||||
echo -e "node_modules\n*.env\n*.out\n.pretterrc\n.gitignore" > .gitignore
|
echo -e "node_modules\n*.env\n*.out\n.pretterrc\n.gitignore" > .gitignore
|
||||||
# Initializes git repository cwd...
|
# Initializes git repository cwd...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue