Background to the issue
Commits without testing and code checking can lead to degradation of the code base quality and increase post maintenance costs. Most teams lack automated checking mechanisms.
Core Programs
Use Gissy's automated workflows to ensure submission quality:
- Pre-check configuration: Set "runTests":true and "runLint":true in .gissyrc.json.
- Customized check commands: If you are using a non-npm tool, you can configure a custom command such as "testCommand": "pytest".
- Intelligent Interception Mechanism: gissy watch automatically stops the commit process if the check fails and highlights the error message in the terminal
advanced skill
For specific scenarios:
- Skip checking temporarily: gissy watch -no-test
- Whitelisting configuration: exclude non-critical directories via .watchIgnore
This answer comes from the articleGissy: a command line assistant that uses AI to enhance Git workflowsThe