summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/setup_new_project.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/setup_new_project.sh b/bin/setup_new_project.sh
index bcffc7d..9255c5e 100644
--- a/bin/setup_new_project.sh
+++ b/bin/setup_new_project.sh
@@ -8,8 +8,11 @@ echo "Where is your git repo? (eg git@github.com:dittonjs/NestStarterApp.git)"
read reponame
+# replace the title of the README with new app name
sed -i "s/USU CS4610 Nest Starter App/$appname/" README.md
+git add .
+git commit -m "setup new project '$appname'"
git remote rename origin upstream
git remote add origin $reponame
git branch -M main