These helper scripts support common local save, push, and branch-history workflows for PyPNM-WebUI.
Stage changes, run checks, and create a commit:
./tools/git/git-save.sh --commit-msg "message"Default git-save.sh behavior:
- runs
npm run lint - runs
npm run test - runs
npm run build - bumps only the
BUILDsegment ofVERSION - syncs
package.jsonandpackage-lock.jsonto the derived npm version - stages repository changes
- creates the timestamped commit
The build bump is part of the save commit. It is not left dirty in the working tree.
Stage changes, run checks, create a commit, and push:
./tools/git/git-save.sh --commit-msg "message" --pushUse the combined save/push helper for shorter flows:
./tools/git/git-push.sh --commit-msg "message"For destructive branch-history rewrite workflows only:
./tools/git/git-reset-branch-history.sh --helpUse history rewrite only when the branch policy requires it.