git - 我们可以在不克隆 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 的情况下获得最后的提交消息吗?
解决方案
推荐阅读
- visual-studio - 将代码签入 TFS 后如何自动请求代码审查
- python - 在具有不同 x 轴值的同一图上绘制多个直方图
- javascript - 从 fetch.then 内部导出函数
- java - 使用 MultiFieldQueryParser 时如何在 Lucene 中搜索部分单词?
- .net-core - Azure Devops Pipeline - 使用 DotNetCoreCLI@2 指定目标框架
- python - 如何使用 numpy 数组修改和访问元素
- javascript - Javascript - 搜索和替换特定单词
- ios - 如何在 iOS 上调试崩溃
- html - 如何从下拉菜单图标/链接/图像中删除点击轮廓?
- android - 清单未解决的类