GrayedFox / squashed

An NPM package which checks if your current branch needs to be squashed or not

Home Page:https://www.npmjs.com/package/squashed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This handy little module checks if the currently checked out branch needs squashing. It uses a native git command to count the number of unique commits the branch has (read: commits not present on develop).

Install using npm:

npm install squashed --save-dev

Then from inside the squashed npm package folder (node_modules/squashed/), do:

npm link

Now simply type "squashed" into the terminal from any Git folder to see if you need to squash those commits or not!

About

An NPM package which checks if your current branch needs to be squashed or not

https://www.npmjs.com/package/squashed

License:MIT License


Languages

Language:JavaScript 88.2%Language:Shell 11.8%