If you remove the rainbow specification, it should be
git log --graph --pretty=format:'%h -%d %s (%cr) <%an>' --abbrev-commit --
If you remove the rainbow specification, it should be
And most programmers are used to C style formatting.