Every time you submit the code, do you have a moment when you can't press submit because of how to write the Commit Message? Then, after Si Moqiang Pao wrote some and submitted it, was it complained by the reviewer? I believe that many friends have had such an experience, right?
Taking advantage of the popularity of ChatGPT recently, let me recommend a VS Code plug-in that can be used to solve this problem: vscode-gptommit
This plug-in can help us automatically generate submission information, and the production content is almost the same.
It will generate a commit message based on your file change information, so the output content is still very readable, such as the following example:
how to use
Step 1: Search for "vscode-gptcommit" in the plugin market of VS Code and install it
Step 2: Use the shortcut keys of VS Code Ctrl+Shift+P
or Cmd+Shift+P
call out the command input box to generate a commit message
You can also generate via this button in the Git panel:
Of course, it is very important that you also need to configure the api key of openai. How to obtain it, I won’t go into details here. You can search for it by yourself.
Project address: https://github.com/pwwang/vscode-gptcommit
Welcome to follow my official account: Programmer DD. Cutting-edge technology has long known that there is hope for corner overtaking! To accumulate overtaking capital, start by paying attention to DD!