Skip to content

Commit 5db7b7c

Browse files
committed
Update scripts
Update scripts Signed-off-by: Bensuperpc <[email protected]>
1 parent 1605727 commit 5db7b7c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

git/git-commit.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ set -euo pipefail
2121
#//////////////////////////////////////////////////////////////
2222

2323
if (( $# == 2 )); then
24-
git commit -s -m $1 -m $2
24+
git commit -s -m "$1" -m "$2"
2525
elif (( $# == 1 )); then
26-
git commit -s -m $1 -m $1
26+
echo $1
27+
git commit -s -m "$1" -m "$1"
2728
else
2829
echo "Usage: ${0##*/} <Title> <Message>"
2930
echo "Usage: ${0##*/} <Title>"

0 commit comments

Comments
 (0)