git 查看获取最后一次提交的 commit

创建日期: 2024-12-23 16:52 | 作者: 风波 | 浏览次数: 20 | 分类: Git

来源:https://stackoverflow.com/questions/19176359/how-to-get-the-last-commit-id-of-a-remote-repo-using-curl-like-command

git log --format="%H" -n 1
20 浏览
13 爬虫
0 评论