Update repo-helper.sh
Browse files- repo-helper.sh +2 -2
repo-helper.sh
CHANGED
|
@@ -12,7 +12,7 @@ case "$1" in
|
|
| 12 |
git add .
|
| 13 |
git commit -m "$MSG" || echo "Nothing to commit."
|
| 14 |
git push
|
| 15 |
-
echo "Pushed to GitHub.
|
| 16 |
;;
|
| 17 |
new)
|
| 18 |
if [ -z "$2" ]; then echo "Usage: repo new <folder-name>"; exit 1; fi
|
|
@@ -20,7 +20,7 @@ case "$1" in
|
|
| 20 |
git init
|
| 21 |
echo "# $2" > README.md
|
| 22 |
git add . && git commit -m "Initial commit"
|
| 23 |
-
echo "Created local repo.
|
| 24 |
;;
|
| 25 |
*)
|
| 26 |
echo "Usage: repo [clone|save|new]"
|
|
|
|
| 12 |
git add .
|
| 13 |
git commit -m "$MSG" || echo "Nothing to commit."
|
| 14 |
git push
|
| 15 |
+
echo "Pushed to GitHub."
|
| 16 |
;;
|
| 17 |
new)
|
| 18 |
if [ -z "$2" ]; then echo "Usage: repo new <folder-name>"; exit 1; fi
|
|
|
|
| 20 |
git init
|
| 21 |
echo "# $2" > README.md
|
| 22 |
git add . && git commit -m "Initial commit"
|
| 23 |
+
echo "Created local repo. Push to GitHub to deploy."
|
| 24 |
;;
|
| 25 |
*)
|
| 26 |
echo "Usage: repo [clone|save|new]"
|