Skip to content

Repository created to study the pattern of commits using Commitlint, Commitizen, Husky and automatic changelog generation.

Notifications You must be signed in to change notification settings

luizvnegrini/git_conventional_commits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Conventional Commits

Repository created to study the pattern of commits using Commitlint, Commitizen, Husky and automatic changelog generation.

Setup

1 - NPM

For the use of this repository we will take into account that you already have npm in your environment.

  • If you are starting a new repository in your environment, you must run the git init command before going to the second topic next step.

2 - Install commitilint

To install commitilint just follow the step by step on the official link.

3 - Install commitizen

3.1 - Run: npm install commitizen -g 3.2 - Run: commitizen init cz-conventional-changelog --save-dev --save-exact

  • After doing this, to make new commits just type in your terminal the command cz or git cz and you will have a new experience when making commits. Just follow the step by step in the terminal.

4 - Generate changelog

I generated the changelog file through an extension for vscode, in this link you will find the editors that have this extension available to use.

About

Repository created to study the pattern of commits using Commitlint, Commitizen, Husky and automatic changelog generation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published