Dan*_*ing 387
git log origin/master..master
或者,更一般地说:
git log <since>..<until>
您可以使用grep来检查特定的已知提交:
git log <since>..<until> | grep <commit-hash>
或者您也可以使用git-rev-list搜索特定的提交:
git rev-list origin/master | grep <commit-hash>
Ari*_*zis 36
如何确定具有特定哈希的提交是否已被推送到原点?
# list remote branches that contain $commit
git branch -r --contains $commit
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
217947 次 |
| 最近记录: |