Compare commits
3 Commits
scripts
...
basicthink
Author | SHA1 | Date | |
---|---|---|---|
![]() |
23b8693075 | ||
![]() |
60d35d9f5f | ||
![]() |
9fdcbcd9d6 |
@ -1,4 +1,4 @@
|
||||
description: commit changes with commit message in english.
|
||||
description: Writes a well-formatted commit message for selected code changes and commits them via Git. Include an issue number if desired (e.g., input "/commit to close #12").
|
||||
hint: to close Issue #issue_number
|
||||
input: optional
|
||||
steps:
|
||||
|
@ -301,7 +301,7 @@ def get_marked_files(modified_files, staged_files, file_summaries):
|
||||
if file not in staged_files
|
||||
]
|
||||
|
||||
selected_files = ui_checkbox_select("Select files to commit", options)
|
||||
selected_files = ui_checkbox_select("Select the files you've changed that you wish to include in this commit, then click 'Submit'.", options)
|
||||
return selected_files
|
||||
|
||||
|
||||
@ -411,7 +411,7 @@ def display_commit_message_and_commit(commit_message):
|
||||
None。
|
||||
|
||||
"""
|
||||
new_commit_message = ui_text_edit("Edit commit meesage", commit_message)
|
||||
new_commit_message = ui_text_edit("I've drafted a commit message for the code changes you selected. You can edit this message in the widget below. After confirming the message, click 'Commit', and I will proceed with the commit using this message.", commit_message)
|
||||
if not new_commit_message:
|
||||
return
|
||||
subprocess.check_output(["git", "commit", "-m", new_commit_message])
|
||||
|
@ -1,4 +1,4 @@
|
||||
description: 提交当前代码修改.
|
||||
description: 为你选定的代码变更生成格式规范的提交信息,并通过 Git 提交。如需要可包含对应 issue 编号(例如,输入“/commit to close #12”)。
|
||||
hint: to close Issue #issue_number
|
||||
input: optional
|
||||
steps:
|
||||
|
Loading…
x
Reference in New Issue
Block a user