简体   繁体   中英

How to show all commits on all (local) branches using git log?

git log --graph --oneline only shows the current branch I am on. 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

* b546488 eee
| * 7f28b92 ddd
|/  
| * fd6b7b8 ccc
|/ 
* d656b93 bbb
* c9ee226 aaa

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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