How to?

git status 显示中文乱码

Aug 19, 2024
softwares-and-toolsgit
1 Minutes
47 Words
This article was last updated on May 27, 2026 and some of the information may no longer be applicable due to the passage of time.

git status 显示中文乱码

1
git config --global core.quotepath false
2
git config --global gui.encoding utf-8
3
git config --global i18n.commit.encoding utf-8
4
git config --global i18n.logoutputencoding utf-8

再执行 git status 发现能正常显示中文了。

verified in env above

Article title:git status 显示中文乱码
Article author:Julyfun
Release time:Aug 19, 2024
Copyright 2026
Sitemap