首页 > 解决方案 > 我们可以在不克隆 repo 的情况下获得最后的提交消息吗?

问题描述

repo : https://repo/server/branch

在 SVN 中,我们通过

svn log -l1 https://repo/server/branch

同样,在 git

git clone https://repo/server/branch
git log -1

我们可以在不克隆 git 的 repo 的情况下获得最后的提交消息吗?

标签: git

解决方案


推荐阅读