網站首頁 編程語言 正文
方法一
一、桌面右擊,點擊“Git Bash Here”
二、在彈出的黑窗口,右擊,選擇“options”
三、在彈出的窗口,選擇“Text”,修改如下值后,先點擊“Apply”,再點擊“Save”
四、關閉窗口,重現打開“Git Bash”,再次輸入命令,發現亂碼已經解決
方法二
git bash命令設置支持中文字符
在git bash輸入如下命令:
git config --global gui.encoding utf-8
git config --global i18n.commitencoding utf-8
git config --global i18n.logoutputencoding utf-8
export LESSCHARSET=utf-8
原文鏈接:https://www.cnblogs.com/wml-it/p/15578923.html
相關推薦
- 2022-08-06 Flutter?隊列任務的實現_Android
- 2022-04-28 WPF路由事件之邏輯樹和可視樹遍歷_實用技巧
- 2022-12-23 C++?Boost?Parameter超詳細講解_C 語言
- 2022-09-14 Python字符串拼接的4種方法實例_python
- 2022-07-06 C++單例模式為何要實例化一個對象不全部使用static_C 語言
- 2022-04-06 Go?字符串比較的實現示例_Golang
- 2022-09-26 Python?Celery定時任務詳細講解_python
- 2022-10-25 React?中?setState?的異步操作案例詳解_React
- 最近更新
-
- window11 系統安裝 yarn
- 超詳細win安裝深度學習環境2025年最新版(
- Linux 中運行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎操作-- 運算符,流程控制 Flo
- 1. Int 和Integer 的區別,Jav
- spring @retryable不生效的一種
- Spring Security之認證信息的處理
- Spring Security之認證過濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權
- redisson分布式鎖中waittime的設
- maven:解決release錯誤:Artif
- restTemplate使用總結
- Spring Security之安全異常處理
- MybatisPlus優雅實現加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務發現-Nac
- Spring Security之基于HttpR
- Redis 底層數據結構-簡單動態字符串(SD
- arthas操作spring被代理目標對象命令
- Spring中的單例模式應用詳解
- 聊聊消息隊列,發送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠程分支