![](/img/trans.png)
[英]Delete or remove all history, commits, and branches from a remote Git repo?
[英]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.