Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
centos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platyhouse
centos
Commits
246e711d
Commit
246e711d
authored
Oct 28, 2025
by
platyhouse
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
94d0fac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
8 deletions
+20
-8
ptyGitCommit
ptyGitCommit
+20
-8
No files found.
ptyGitCommit
View file @
246e711d
#!/bin/sh
#!/bin/
ba
sh
echo
"커밋 메세지를 작성중..."
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
$0
"
)
"
&&
pwd
)
"
# claude 출력을 변수에 저장
COMMIT_MSG
=
$(
claude
-p
"
$(
cat
"
$SCRIPT_DIR
/ptyGitCommit.prompt"
)
"
)
# 커밋 실행
if
[
-n
"
$COMMIT_MSG
"
]
;
then
echo
"생성된 커밋 메세지:"
echo
"
$COMMIT_MSG
"
git commit
-m
"
$COMMIT_MSG
"
else
if
[
-z
"
$COMMIT_MSG
"
]
;
then
echo
"커밋 메세지 생성 실패"
exit
1
fi
# 생성된 메세지 표시
echo
""
echo
"=========================================="
echo
"생성된 커밋 메세지:"
echo
"=========================================="
echo
"
$COMMIT_MSG
"
echo
"=========================================="
echo
""
# 확인
read
-p
"이 메세지로 커밋하시겠습니까? (y/n): "
confirm
if
[
"
$confirm
"
=
"y"
]
||
[
"
$confirm
"
=
"Y"
]
;
then
git commit
-m
"
$COMMIT_MSG
"
echo
"✅ 커밋 완료!"
else
echo
"❌ 커밋 취소됨"
fi
platyhouse
@platyhouse
mentioned in commit
8587004b
·
Dec 16, 2025
mentioned in commit
8587004b
mentioned in commit 8587004bfbebb2ceff13804bc1eea04727f6a285
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment