mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
10
.github/prompts/gf.commit-push.prompt.md
vendored
10
.github/prompts/gf.commit-push.prompt.md
vendored
@ -105,11 +105,11 @@ test(container/garray): add unit tests for sorted array
|
||||
|
||||
## 输出要求
|
||||
|
||||
完成所有操作后,提供以下信息:
|
||||
- 生成的commit message
|
||||
- 执行的git命令及其输出
|
||||
- 推送结果(成功/失败)
|
||||
- 如有问题或建议,给出相应的提示
|
||||
完成所有操作后,提供以下信息(注意避免泄露任何敏感信息,如远程仓库 URL、token、用户名、邮箱、本地绝对路径等):
|
||||
- 生成的commit message(不包含敏感信息)
|
||||
- 执行的git操作步骤概要(如:使用了哪些关键命令),如需展示命令或输出,请对可能包含敏感信息的内容进行脱敏或省略,并避免展示 `git remote -v`、`git config` 等可能包含凭据的配置或 remote 信息
|
||||
- 推送结果(成功/失败),如失败可提供错误类型或简要错误摘要,同样需要对可能的敏感信息进行脱敏
|
||||
- 如有问题或建议,给出相应的提示,注意不要在说明中泄露仓库路径、远程地址或其他敏感信息
|
||||
|
||||
## 参考文档
|
||||
|
||||
|
||||
Reference in New Issue
Block a user