Skip to content

axelprox/vscode-git-semantic-commit

 
 

Repository files navigation

Logo

VS Code - Git Semantic Commit

Marketplace Build Installs License

Installation · Usage · Settings · CHANGELOG

ℹ️️ Description

This Visual Studio Code extension enables to commit simply by the semantic message conventions.

Preview


👨🏻‍🏫 How to Use

The first thing you need to do is installing the extension.

Well, there are two ways to trigger the "Semantic Commit" command:

1. Command Palette

Open the Command Palette and start typing Git: Semantic Commit:

Triggering using the Command Palette

Then, choose the appropriate command and follow the steps.

2. View Actions

Alternatively, you can use the primary and secondary actions within the Source Control view:

Triggering using the View Actions


⚙️ Settings

The extension allows you to customize the following configuration settings:

Name Description
gitSemanticCommit.commitOptions Specifies which arguments to be passed when the commit is executed
gitSemanticCommit.preserveScope Determines whether to preserve the last message scope that was inserted
gitSemanticCommit.stageAll Determines whether to stage all changes before the commit, in case the staging area (index) is empty
gitSemanticCommit.types Specifies the supported message types

Customize Your Types

Besides the fact you can add new message types, it's either possible to modify the existing values:

Enriching types with Emojis


💁🏻 Contributing

This is an open source project. Any contribution would be greatly appreciated!

About

💬 A Visual Studio Code extension which enables to commit simply by the semantic message conventions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.6%
  • Shell 0.4%