Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhpStorm 解决 git 乱码问题 #5

Open
git-zjx opened this issue Jul 11, 2019 · 0 comments

Comments

@git-zjx
Copy link
Owner

commented Jul 11, 2019

将 IDEA Terminal 命令窗口修改为 Git bash 命令窗口
1、打开 settings 设置界面,选择 Tools 中的 Terminal (File -> settings -> Tools -> Terminal)
2、修改 Shell path 为你的 Git bash 安装路径

修改 Git 的安装目录下的bash.bashrc文件

# 解决 IDEA 下的 terminal 中文 Unicode 编码问题
export LANG="zh_CN.UTF-8"
export LC_ALL="zh_CN.UTF-8"

重启 Terminal 即可

@git-zjx git-zjx added this to 配置 in PhpStorm Jul 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.