You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: git-commit-push-script.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ if [ -z "$COMMIT_MSG" ]; then
33
33
fi
34
34
35
35
# Clean up commit message formatting - remove #, ```, period . at the end of response
36
-
commit_message=$(echo "$COMMIT_MSG"| sed 's/#//g'| sed 's/```//g'| sed 's/Commit message title://g'| sed 's/Commit message summary://g'| sed 's/\.//g'| head -n 1)
36
+
commit_message=$(echo $COMMIT_MSG| sed 's/#//g'| sed 's/```//g'| sed 's/Commit message title://g'| sed 's/Commit message summary://g'| sed 's/\.//g'| head -n 1)
37
37
38
38
# If the commit message is longer than 72 characters, truncate it at word boundary
0 commit comments