Skip to content

adamswanglin/GitCommitMessage

 
 

Repository files navigation

Git Commit Message

Create Git commit messages. The structure is defined within a template, that is customized by the user himself. All variables can have an optional RegEx expression, that is parsing the Git or HG Mercurial Branch name.

Installation

Install directly from the IDE plugin manager (File > Settings > Plugins > Browser repositories > Git Commit Template)

Usage

Template example:

JiraId: ${ticket:"JiraID-[0-9]{1,10}"} ${shortDescription}
    ${longDescription:"(?<=_)[a-zA-Z0-9]+"}

e.g. feature/JiraID-1234_Test_Branch (git branch) -> JiraId-1234

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%