I want to filter out certain branches (such as those matching origin/build_*
for example) from my git log.
I've looked high and low and come across some great resources (this one for example) but I still can't figure out how to do this.
From the documentation it looks like I should be able to do something like:
git log --exclude=origin/build_* --branches
but it doesn't work.
What I needed was to filter on remotes, not branches:
--exclude=origin/build_* --remotes
Works great!