list_branch_authors
List commit authors in a branch or after a commit to verify your Git username. Choose branch comparison or commit hash mode.
Instructions
列出变更范围内所有提交的作者信息,帮助用户确认自己的Git用户名。支持两种模式:
模式一:分支对比模式(需要 target_branch) 模式二:Commit Hash 模式(需要 from_commit,不需要 target_branch)
使用场景:
不确定自己的Git用户名时,先查看提交作者列表
了解本次迭代有哪些人参与了代码提交
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Git仓库的本地路径 | |
| dev_branch | Yes | 开发分支名称 | |
| from_commit | No | 起始 commit hash。指定后,将获取该 commit 之后到 dev_branch 的所有提交作者,无需指定 target_branch。 | |
| target_branch | No | 目标对比分支。使用 from_commit 模式时可不传。 |