commit_id=git log --pretty="%H" ${repo_manifest_xml}
commit_message=git log --pretty=format:"%s" -1 ${commit_id}
committed_at=git log --pretty=format:"%ai" -1 ${commit_id} | awk -F ' ' '{print $1" "$2}'
git gets the commit-id, commit_message of the submitted information
Guess you like
Origin blog.csdn.net/qq_40804558/article/details/130685134
Recommended
Ranking