Script to hide tracked git changes. Used when committing build assets.
npm install @valu/git-tools
or maybe even globally?
npm install -g @valu/git-tools
Hide changes from git in a given directory even if they are tracked
git valu-hide-changes build
Show changes hidden by git valu-hide-changes
git valu-show-changes build
Commit hidden changes
git valu-commit-changes build
Add following package.json script
"build-commit": "npm run build && git valu-commit-changes build"