【GitHub Copilot】小技巧

都是大佬

1 Like

:tieba_087:有图有真相

1 Like
"github.copilot.chat.codeGeneration.instructions": [{"text": "feat – for adding a new feature; fix – for fixing a bug; docs – for documentation changes; style – for code style changes (does not affect functionality, e.g., whitespace, formatting, missing semicolons, etc.); refactor – for code refactoring (neither fixing a bug nor adding a feature); test – for adding or modifying tests; chore – for changes to the build process or auxiliary tools (does not affect source code or tests); perf – for performance improvements; build – for changes that affect the build system or external dependencies (e.g., gulp, webpack, npm); revert – for reverting a previous commit; ci – for changes to CI configuration files and scripts (e.g., GitHub Actions, Jenkins); deps – for dependency changes (update, remove, or add); Standard commit message format: <type>(<scope>): <description>"}]

1 Like

太妙了,佬

因为就算这样了,还是亏

佬友也可以试试gitdoc

1 Like

感谢 mark下

1 Like

去看了下,这个插件可以哎,感谢佬友推荐

1 Like

我之前看中了它能自动commit,如果佬友习惯手动commit可能还是gitlens好用 :tieba_087:

1 Like

有用有用

1 Like

可以可以,明天试试

不知道为什么没用,不管cursor还是cline还是copilot生成提交信息都不遵守 <type>(scoop): <message> 规范,都是直接生成 <message>

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。