我有这样的网址https://git.company.com/project。我正在尝试编写一个shell脚本,该脚本试图获取给定Project的所有存储库。另外,我想查找该项目下所有这些存储库的提交历史记录。编写相同的shell脚本的方法是什么?
previous_branch=remotes/origin/release/${Previous_Release_Number}
current_branch=remotes/origin/release/${Present_Release_Number}
git log --pretty=format:"%ae, %s, %cd" ${previous_branch}..${current_branch} |sort> output.csv
这是我为单个存储库写的。