Customize git comment char

If you want your git commit messages to contain “#” (for example because you want to reference ticket numbers), you have a problem: The character “#” is by default used for starting a comment. Luckily, you can easily change that with:
git config core.commentChar ';'
This entry was posted in Version control and tagged by swk. Bookmark the permalink.

About swk

I am a software developr, data scientist, computational linguist, teacher of computer science and above all a huge fan of LaTeX. I use LaTeX for everything, including things you never wanted to do with LaTeX. My latest love is lilypond, aka LaTeX for music. I'll post at irregular intervals about cool stuff, stupid hacks and annoying settings I want to remember for the future.