npmpub icon indicating copy to clipboard operation
npmpub copied to clipboard

Add an option to ignore files not tracked by Git when checking status

Open BehindTheMath opened this issue 7 years ago • 1 comments

Currently, the only options are the default, which checks all files not included in .gitignore, and --skip-status which doesn't check anything. It would be nice to have an option to only check files that are tracked by Git, but ignore anything else.

BehindTheMath avatar Feb 02 '18 16:02 BehindTheMath

PR welcome. That said, I won't that to be the default behavior as many people like this feature. It's handy to push to npm some generated files (eg es6 to es5 code in ignored dist (or lib) folder.

MoOx avatar Feb 26 '18 10:02 MoOx