We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d30254 commit 25712f6Copy full SHA for 25712f6
commit.sh
@@ -1,3 +1,8 @@
1
#!/bin/bash
2
+COMMIT_MESSAGE="$1"
3
-git add -A && git commit -m "Updates" && git push -u origin master
4
+if [[ -z "${COMMIT_MESSAGE}" ]]; then
5
+ COMMIT_MESSAGE="Updates - Automated Commit Message"
6
+fi
7
+
8
+git add -A && git commit -m "${COMMIT_MESSAGE}" && git push -u origin master
0 commit comments