A common scenario I have is this:
I download a new codebase. In order to have me understand the code, I need to litter it with my own comments about what each section of code does.
It seems inappropriate to then push these messy comments back upstream.
So now I have a problem: my own codebase has a bunch of my own notes / comments, but I don't want to share them upstream with others.
I vaguely researched that maybe I can setup something to remove only certain types of my own comments each time I push, but I don't have a clear resource on the best way to set this up.