Tool Parameter Abuse
- Category
- Tool Misuse
- Confidence
- 96% confidence
- Finding
This duplicate finding points to the same risky push guidance, including force-with-lease to
main. The danger is heightened by the skill context: it advertises automation and execution, so these commands are not merely educational text but plausible agent actions affecting shared infrastructure.- Content
md git fetch origin git fetch --all --prune # 获取所有远程并清理已删除的分支 # 推送 git push origin feature/branch git push -u origin feature/branch # 设置上游跟踪 git push --force-with-lease origin main # 安全强制推送(推荐) # 注意:避免使用 git push --force,它会覆盖远程历史
