I have a repo that got quite large with several branches. I rebased some important stuff and merged branches that I might need in future - so far, so good. However, I have the feeling that I am missing some old branch that never got merged into master
. Due to the size of the repo and amount of commits it is hard to scroll through and identify the problem with gitg
or git log --online --decorate --graph --all
.
Is it possible to somehow reduce the graph to just the most recent commit for every branch and preferably only stuff that is different to master
?
You specify the refspec ^master
(not reachable from master). That should get you going
git log --all ^master
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.