gulp-gitstage
2019
A plugin for Gulp to stage files in the object stream for git.
Description
Starting as a fork of gulp-gitmodified I converted the project into a Gulp plugin that stages files in the file-stream automatically. The idea was born out of a desire to build custom Prettier-like pipelines within Gulp. More specifically, I wanted to build a pipeline that gets all staged files using gulp-gitmodified and applies Stylelint's automatic fix, finally staging the files before a commit is made. Using husky one can easily add a pre-commit
hook that runs this custom pipeline on all commits, guaranteeing code quality.