1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

GitHub Copilotでコミットメッセージのスタイルを変えようとしてもできない

Posted at

コミットメッセージにgitmojiを必ず使ってほしいということがあったのでやり方を調べてたら以下のissueに当たりました。

恐ろしいほどのリアクションがついています。

当のissueの内容はこうです。

I love the new auto generated commit message feature in the VSCode 1.84 release that's just come out.

What I would love to see to make it even better is the ability to customize the style of commit message, for example conventional commits: ci: added yaml build definition or feat: added test controller etc.

Some of our projects at work require conventional commits for example, and given that the underlying tech is just based on prompts I can imagine this being pretty easy to add with a prompt tweak.

It would be even more amazing if you could give it any style by having the option for a custom pre-prompt e.g. "Use conventional commit styling" or "Use relevant emojis at the start of the message".

A suggestion by @digitarald also is that VSCode could be aware of previous commit messages and copy their style too which I think is also a great idea.

Thank you!

先日リリースされたVSCode 1.84の新しいコミットメッセージ自動生成機能が気に入っています。

より良いものにするためにぜひ欲しいのは、コミットメッセージのスタイルをカスタマイズできる機能です。
コミットメッセージのスタイルをカスタマイズできることです。
例えば、ci: yamlのビルド定義を追加しましたとか、feat: テストコントローラを追加しましたとか。

私たちの仕事では、従来のコミットが必要なプロジェクトもあります。
を必要とするプロジェクトがあります。
プロンプトを微調整するだけで、かなり簡単に追加できると想像できる。

プロンプトに手を加えるだけで、このようなことが簡単にできると想像できます。
カスタムプリプロンプトのオプションがあれば、さらに素晴らしいだろう。
従来のコミットスタイルを使用する"、"メッセージの冒頭に関連する絵文字を使用する

また、@digitaraldの提案によると、VSCodeは以前のコミットメッセージを認識して、そのスタイルをコピーすることができるそうです。

ありがとうございます!

VSCodeのチームはこの問題を認識しているようですが、実装できるのはいつになるか

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?