Sometimes, when work is finished on one github/issues, its helpful to "reset" the list of opened files. So far I've been doing M-x kill-emacs and then restart, but that's a bit heavy handed.
I tried this tip , that did kill actual file buffers. I want to to be able to reset things so that this kind of "miscellaneous" buffers aren't laying around:
*scratch*
can stay, because it was there when emacs first started.
ibuffer
(which you seem to be using), you can group at least some of the buffers (e.g. the magit buffers) and deal with them in one blow - that should take care of 80% of the problem. See this example of dealing with ERC buffers,instead of magit buffers, but it should be close.*scratch* *Messages* *Warnings**Compile-Log*