3

I used special characters like "" and <> or ' in the body of my commit message, is this allowed or should i use text only ?

I didnt find a real answear, and i dont want to f up my github history, so an answear would really help me out!

Trxsh
  • 35
  • 3

1 Answers1

2

The only disallowed character in a git commit message is the NUL byte. Any other characters from any encoding are fine.

Ferrybig
  • 18,194
  • 6
  • 57
  • 79
  • Interestingly enough this almost entirely forbids the use of UTF-16 ;-) Except if avoid all ASCII-range characters (including space and newline). – Joachim Sauer Nov 18 '22 at 10:33