7

I want to inspect all commits in the main namespace (i.e. refs/heads/*) via git log, that is, to exclude refs/remotes, refs/original, etc. Is there a simple command to achieve this?

4

2 回答 2

6

Try this:

git log --all --not --remotes=*
于 2013-10-18T01:48:39.597 回答
2

Thanks for Sunlis' hint, I found that this works:

git log --branches=*
于 2013-10-18T06:11:29.963 回答