Git Squash Squash the current PR branch into one commit based on net branch changes relative to the default branch. Do not create or invoke a helper script. Run the Git commands directly. Arguments Parse for optional flags: - : Override the generated commit subject line - : Override default-branch auto-detection Defaults: - Subject: infer a conventional-commit subject from the squashed changes themselves; do not default to - Base detection order: 1. 2. 3. , , Workflow 1) Pre-flight Start by confirming that history can be rewritten safely. Stop on the first failure. - Verify inside a Git workt…