6
如何使用类似curl的命令获取远程仓库的最后提交ID?
我想获取远程git仓库的最后提交ID 。 该命令git rev-parse HEAD适用于本地克隆的git repo,但是我想通过CURL命令从原始GIT repo中获取它。 例如:我要获取git URL的最后提交ID https://git.appfactorypreview.wso2.com/history/apiapp.git/。 怎么样?
71
git
git-commit