676767				
			
		朕想知道
				
			
		朕想知道				
			
		朕不要啊				
			
		朕想知道				
			
		朕想知道				
			
		朕想知道				
			
		朕想知道				
			
		我想知道				
			
		我已经解决了
Windows
在命令行下输入以下命令:
$ git config --global core.quotepath false          # 显示 status 编码
$ git config --global gui.encoding utf-8            # 图形界面编码
$ git config --global i18n.commit.encoding utf-8    # 提交信息编码
$ git config --global i18n.logoutputencoding utf-8# 输出 log 编码
我使用cmd,直接添加环境变量LESSCHARSET,变量值utf-8,重启电脑让变量生效。
不重启电脑快速测试的话,cmd输入命令
set LESSCHARSET=utf-8
				
			
		小甲鱼老师这里的方法随我无效,我的方法如下:
Windows
在命令行下输入以下命令:
$ git config --global core.quotepath false          # 显示 status 编码
$ git config --global gui.encoding utf-8            # 图形界面编码
$ git config --global i18n.commit.encoding utf-8    # 提交信息编码
$ git config --global i18n.logoutputencoding utf-8# 输出 log 编码
我使用cmd,直接添加环境变量LESSCHARSET,变量值utf-8,重启电脑让变量生效。
不重启电脑快速测试的话,cmd输入命令
set LESSCHARSET=utf-8
				
			
		图中的git diff --cached 拼写错了吧				
			
		朕想知道				
			
		朕想知道				
			
		朕想知道
				
			
		666
				
			
		啊				
					
			
		朕想知道
				
			
		1