I need to get all commits from all branches. I retrieve them using the command:
git log --pretty="%H %f" --all
But in this case, Git returns me all the commits with notes, if any. I tried using something like the following:
git log --pretty="%H %f" --all --no-notes
The "allall" command seems to override the "-no-notes" and nothing will happen.
Please advise how can I get all commits from all branches without notes?
PS Yes, I could do git notes, analyze them and then subtract them from git log -all, but it seems to me that for such a trivial situation it should be much easier to solve.
source share