Skip to content

Commit cdf82de

Browse files
committedSep 23, 2024··
TEST-1234 Refactor: Improve commit message extraction
1 parent 4d5ec6f commit cdf82de

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed
 

‎README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Staging, committing, and pushing code is a repetative manual process. Writing de
55
## Table of Contents
66

77
- [What this script automates](#what-this-script-automates)
8-
- [User input required](#user-input-required)
98
- [Requirements](#requirements)
109
- [Installation](#installation)
1110
- [Usage](#usage)

‎git-commit-push-script.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,9 @@ commit_message=$(curl -s \
2727
| jq -r '.candidates[0].content.parts[0].text'
2828
)
2929

30-
echo $commit_message
31-
3230
# Clean up commit message formatting - remove #, ```
3331
commit_message=$(echo $commit_message | sed 's/#//g' | sed 's/```//g' | sed 's/Commit message title://g' | sed 's/Commit message summary://g')
3432

35-
echo $commit_message
36-
3733
# Prepare and execute commit command
3834
git commit -S -m "$ticket $commit_message"
3935

0 commit comments

Comments
 (0)
Please sign in to comment.