For each git repo project that needs commit information generated, the information must be generated independently and completely according to the following process:
- Enter the "target directory"; if this parameter is empty, use the current working directory as the target
- Check all file changes from the last git commit to now, including added, modified, and deleted files, regardless of whether they have been staged
- Based on the changes of all added, deleted, and modified files,by feature as the unit, not by file as the unit, generate the commit information
- Output the commit information
Requirements:
- Concise, no nonsense, and do not write it as a running account or usage instructions
- Must strictly comply with the format requirements of Conventional Commits, and mark the scope in the title, such as
feat(map)、feat(mining) - Only generate and output the commit information, do not commit