Git Bash can not enter Chinese

Reproduce the scene

There is a small partner in the Git Bash the computer can not enter Chinese life and death, leading to git submit the information can not write with Chinese ...

git commit -m  "无法输入中文"

Solution

  1. In Git Bash right in - Options

  2. Select Text - to set the character set UTF-8to

Guess you like

Origin www.cnblogs.com/taadis/p/12112451.html