How to add graphics/image in git commit messages (pushed to Github)?
Here is a list of codes to put in your commit message to get those icons:
For instance, to get this commit message:
enter Release 2.0.1 :gem::star2:
.
If you see an icon on GitHub you want to use, hover your mouse over it, and the tooltip will tell you that icon’s code. Or copy and paste a commit message to convert icons to their codes.
That cheat sheet website is open-source – here is its code.
Caveats: you can’t put an arbitrary image into a commit message – these codes work on GitHub only because GitHub implemented the emoji on that list. And of course, it is up to the Git interface you are using to display emoji or link URLs – Git’s command-line interface will probably not do either of those.