1. Search the gitconfig file in the git directory and add the following content:
[gui] encoding = utf-8 [i18n] commitencoding = GB2312 [svn] pathnameencoding = GB2312
2. Search the git-completion.bash file in the git directory and add the following content:
alias ls='ls --show-control-chars --color=auto'
3. Search the inputrc file in the git directory and add the following content:
set output-meta on set convert-meta off
Recommended related articles and tutorials: vscode tutorial
The above is the detailed content of How to solve the Chinese garbled problem after vscode integrates 'git bash'. For more information, please follow other related articles on the PHP Chinese website!