New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gitool

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitool

[![Build Status](https://travis-ci.org/stefdelec/gitool.svg?branch=master)](https://travis-ci.org/stefdelec/gitool) [![npm version](https://img.shields.io/npm/v/gitool.svg?style=flat)](https://www.npmjs.com/package/gitool)

latest
Source
npmnpm
Version
1.26.0
Version published
Maintainers
1
Created
Source

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-beta.2/

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 gitool -p (groupBy type by default)

gitool -p groupBy='type'

gitool -pg='type' gitool -pg='scope'

gitool -pg='scope' --tag=3

gitool -pg='type' --tag=3 --filters='feat|fix'

alt text

gitool -p --tag 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

    "prepublish": "npm test && npm version minor && node index.js -pao=changelog.md --tag=1 && git push"

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 --amend --no-edit

rePrepare

Checkout base branch and hard reset to origin/<branch> (default main). Useful to start a new feature from a clean, up-to-date base.

Usage:

gitool --rePrepare
gitool --rePrepare --branch=develop
gitool -reb=develop

force

rebase on develop or branch + push force

gitool -force gitool -force -branch=master gitool -fb=master

FAQs

Package last updated on 03 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts