1.打開設置頁,Tools -> Terminal
2.shell path 設置為 : git安裝目錄\Git\bin\bash.exe
3.字符編碼 git log 顯示 亂碼 , 設置utf8 ,在 git安裝目錄 \Git\etc\bash.bashrc,文件最后添加
# 解決 IDEA 下的 terminal 中文 Unicode 編碼問題 export LANG="zh_CN.UTF-8" export LC_ALL="zh_CN.UTF-8"
參考:https://qq52o.me/2520.html
