当前位置: 首页 > news >正文

GitHub Copilot 一键生成中文commit提示语规则设置

文章目录

  • 1. 设置规则
  • 2. 效果

1. 设置规则

以idea为例:setting->Tools->GitHub Copilot->Customizations

复制以下规则到git-commit-instructions.md

please generate a commit message with Chinese. Make sure it includes an accurate and informative subject line that succinctly summarizes the key points of the changes, the response must only have commit message content and must have blank line in message template. Below is the commit message template: <type>(<scope>): <subject> // blank line <body> // blank line <footer> The Header is mandatory, while the Body and Footer are optional. Regardless of which part, no line should exceed 72 characters (or 100 characters). This is to avoid automatic line breaks affecting aesthetics. Below is the type Enum: - feat: new feature - fix: bug fix - docs: documentation - style: formatting (changes that do not affect code execution) - refactor: refactoring (code changes that are neither new features nor bug fixes) - test: adding tests - chore: changes to the build process or auxiliary tools The body section is a detailed description of this commit and can be split into multiple lines. Here's an example: More detailed explanatory text, if necessary. Wrap it to about 72 characters or so. Further paragraphs come after blank lines. - Bullet points are okay, too - Use a hanging indent

2. 效果

以上为个人学习分享,如有问题,欢迎指出:)

http://www.cnnetsun.cn/news/194705.html

相关文章:

  • Windows更新修复实战:告别卡顿与失败的终极指南
  • 工业物联网开发中常见路径错误通俗解释
  • macOS终极NTFS读写解决方案:免费实现跨平台文件传输
  • 【实测】Windows HEIC缩略图完美解决方案:告别“盲盒“式文件管理
  • Java毕设项目推荐-基于springboot的海量题库面试刷题平台系统的设计与实现模拟面试场景【附源码+文档,调试定制服务】
  • Java毕设项目推荐-基于springboot的旧物回收商城系统的设计与实现旧物管理、旧物订单管理、公告管理、环保咨询【附源码+文档,调试定制服务】
  • Step1X-3D:AI生成高保真3D纹理资产新突破
  • LangFlow代码片段复用策略
  • LangFlow定时任务设置技巧:周期性执行AI流程
  • FFXIV TexTools游戏模组工具完整使用教程
  • 38、Windows PowerShell:事件日志、服务、进程监控与活动目录操作指南
  • NVIDIA发布ChronoEdit-14B:AI图像编辑迈入物理推理时代
  • OpenCore-Configurator 黑苹果配置神器:从技术噩梦到轻松上手
  • LangFlow Webhook触发器配置方法
  • vue-esign电子签名组件完整教程:5分钟实现专业手写签名
  • 零基础实现JFET放大电路的PSpice仿真步骤
  • elasticsearch客户端工具发送REST API批量操作示例
  • LangFlow电商推荐引擎设计思路与实现路径
  • 手机秒变专业摄像头:DroidCam OBS插件完全指南
  • Mac跨平台文件传输革命:免费NTFS读写工具深度解析
  • 5分钟快速上手AI转PSD:智能保留图层完整指南
  • 45、Lync 2010客户端功能全解析
  • 如何在5分钟内免费解锁英雄联盟所有外观?终极R3nzSkin完整使用指南
  • 54、边缘服务器部署准备与证书配置全解析
  • html-docx-js终极指南:浏览器端HTML转Word高效解决方案
  • ESP32开发环境搭建与Home Assistant集成操作指南
  • 14、深入了解 SQL Server 的 WMI 事件提供者及事件监控
  • 17、SQL Server 管理:PowerShell 与 SMO 的应用
  • 19、SQL Server 和 PowerShell 编码标准构建指南
  • 终极指南:macOS免费NTFS读写工具快速上手教程