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
94d0fac6
Commit
94d0fac6
authored
Oct 28, 2025
by
platyhouse
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refs ptyGitCommit
parent
c8bb469a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
ptyGitCommit
ptyGitCommit
+15
-1
ptyGitCommit.prompt
ptyGitCommit.prompt
+1
-1
No files found.
ptyGitCommit
View file @
94d0fac6
#!/bin/sh
echo
"커밋 메세지를 작성중..."
claude
-p
"
$(
cat
ptyGitCommit.prompt
)
"
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
echo
"커밋 메세지 생성 실패"
exit
1
fi
ptyGitCommit.prompt
View file @
94d0fac6
git diff --staged 실행 후 git diff를 분석해서 커밋 메세지를 작성하여 커밋한다.
git diff --staged 실행 후 git diff를 분석해서 커밋 메세지를 작성하여
git commit -m 명령어를 수행하여
커밋한다.
마크다운 형태로 작성한다.
Staged 변경 사항만 분석한다.
주제별로 각각의 파일명을 언급해서 설명한다.
...
...
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