How to install and run the extension in VS Code.
Go to the Marketplace link below, then click the Install button.
Use the extension like this:
- Open VS Code.
- Open a project which is a Git repo.
- Edit one or more files and save them.
- Optionally stage one of the files.
- This is useful if want smaller changes in your commit and your commit message.
- Staging is necessary if you do a move or rename action, so that Git sees the old and new path as the same file. But otherwise, you don't have to stage.
- In VS Code's built-in Git pane, click the Auto Commit Message icon.
- The extension will create a descriptive commit message for you in the commit message box.
- Optionally edit your message.
- Commit - click the tick symbol button. Or Control+Enter or CMD+Enter.