9
votes
3answers
2k views

Force GitHub syntax highlighting language on source files

I have some C++ source files in a GitHub repo which have an extension of .C and are using C syntax highlighting, which I don't want. How can I set GitHub to apply C++ syntax highlighting to these ...