when git bash executes the command, the Chinese prompt is not displayed, and it is not garbled, as shown in the figure.
option whether zh-CN, UTF-8 is set or useless
when git bash executes the command, the Chinese prompt is not displayed, and it is not garbled, as shown in the figure.
option whether zh-CN, UTF-8 is set or useless
try
set to GBK instead of utf-8
this is the garbled code caused by coding problems. You try several compatible Chinese codes one by one:
utf-8 (not needed), gbk, gb2312, ansi, iso8859-1, etc.
windows. Windows's command uses gbk coding. If you use git bash's command directly, there will be no garbled code. It is strongly not recommended to change the code indiscriminately. You will find that your git commit is all garbled
.< H2 > problem description < H2 > while writing a shell script, I need to git checkout to a branch after cd to a directory. however, in some cases, git checkout fails because the artificial modification file is not submitted. < H2 > excuse me < H2...
problem description for example, I installed jdk and set it in the system environment variables. Executing java or javac on the command line can execute the relevant commands, but I can t find java, in msys2 and prompt me that I can t find the c...