繁体   English   中英

是否可以查看对远程所有分支的提交历史?

[英]Is it possible to view a history of commits to all branches of remote?

我在git中有一个远程存储库。 在其中,我有许多分支,其中包含多个提交。

是否可以打印遥控器所有提交的历史记录? 这样我就可以看到对所有分支的提交了吗?

是的你可以。

// Updates the cache of remote repositories
> git fetch

// Logs your remote branches' commits
> git log --all --oneline <origin/yourbranch>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM