@arianee/gitool

1.24.0 • Public • Published

Build Status npm version

gitool

Gitool helps you always have the right format for your commit message. Following https://www.conventionalcommits.org/en/v1.0.0/

alias

any gitool command can be called with gitool or gt

check commit format

For last one: gitool --checkCommit

For last 3 gitool --checkCommit --last=3 or gitool -c -l=3 or gitool -cl=3

alt text

pretty print

gitool --prettyPrint --pn=ProjectName --v=1.23.2 gitool -p --pn=ProjectName --v=1.23.2 (groupBy type by default)

gitool -p groupBy='type' --pn=ProjectName --v=1.23.2

gitool -pg='type' --pn=ProjectName --v=1.23.2 gitool -pg='scope' --pn=ProjectName --v=1.23.2

gitool -pg='type' --filters='feat|fix' --pn=ProjectName --v=1.23.2

alt text

gitool -p --pn=ProjectName --v=1.23.2 output commits from last tag

Output a file:

gitool -po=releasechangelogNote.md'

gitool -p --output=changelog.md' example of this repo here

Add this in your package.json

    "postversion": "gitool -p --pn=ProjectName --v=1.23.2"

message composer

gitool --messageComposer --test to test the functionality or gitool -mt

and gitool --messageComposer to make a real commit gitool --m to make a real commit

alt text

cane

shortcut for

git add . && git commit -m "release(changelog): Update changelog.md [CI SKIP]"

force

rebase on master or branch + push force

gitool -force gitool -force -branch=develop gitool -fb=develop

Readme

Keywords

none

Package Sidebar

Install

npm i @arianee/gitool

Weekly Downloads

14

Version

1.24.0

License

ISC

Unpacked Size

135 kB

Total Files

20

Last publish

Collaborators

  • benjamin.darthout
  • 6ssou
  • 0xwhiteleaf.eth
  • max.teiger
  • gnarco
  • stefdelecjs
  • mvaullerin
  • arianeetech