[英]How to show all commits on all (local) branches using git log?
git log --graph --oneline
only shows the current branch I am on. git log --graph --oneline
只显示我所在的当前分支。 But I'd like to see commits on other branches, which are not jet merged.但我希望看到其他分支上的提交,这些分支没有被喷射合并。
use: git log --graph --oneline --all
to show all accessible branches使用: git log --graph --oneline --all
显示所有可访问的分支
* b546488 eee
| * 7f28b92 ddd
|/
| * fd6b7b8 ccc
|/
* d656b93 bbb
* c9ee226 aaa
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.