Git Commit
Perform a git commit by inspecting both uncommitted files and the diff of this branch to the base branch to determine an appropriate commit message.
Process
Use subtasks to run the following git commands in parallel to gather information:
- •
git status - •
git diff - •
git log - •
git diff --cached - •
git diff main...HEAD
Guidelines
- •Lockfile changes (package-lock.json, yarn.lock, pnpm-lock.yaml, etc.) should not be considered for commit unless the human has manually staged the lockfile change
- •Use the information from these parallel git operations to create an appropriate commit message
- •Do not use
git -C <path>- we are already in the correct repository