19 lines
350 B
Bash
19 lines
350 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
source .env
|
||
|
echo "What is the name of your application?"
|
||
|
read appname
|
||
|
|
||
|
echo "Where is your git repo? (eg git@github.com:dittonjs/NestStarterApp.git)"
|
||
|
|
||
|
read reponame
|
||
|
|
||
|
sed -i "s/USU CS4610 Nest Starter App/$appname/" README.md
|
||
|
|
||
|
git remote rename origin upstream
|
||
|
git remote add origin $reponame
|
||
|
git branch -M main
|
||
|
git push -u origin main
|
||
|
|
||
|
|