git shell显示中文
来源:互联网 发布:剑网3谢云流捏脸数据 编辑:程序博客网 时间:2024/04/30 12:08
原文地址:http://www.cnblogs.com/Gukw/archive/2012/01/16/2323417.html
1,/etc/gitconfig:
[gui]
encoding = utf-8 #代码库统一用urf-8,在git gui中可以正常显示中文
[i18n]
commitencoding = GB2312 #log编码,window下默认gb2312,声明后发到服务器才不会乱码
[svn]
pathnameencoding = GB2312 #支持中文路径
2,/etc/git-completion.bash:
alias ls='ls --show-control-chars --color=auto' #ls能够正常显示中文
3,/etc/inputrc:
set output-meta on #bash中可以正常输入中文
set convert-meta off
4,/etc/profile:
export LESSHARSET=utf-8 #$ git log 命令不像其它 vcs 一样,n 条 log 从头滚到底,它会恰当地停在第一页,按 space 键再往后翻页。这是通过将 log 送给 less 处理实现的。以上即是设置 less 的字符编码,使得 $ git log 可以正常显示中文。
0 0
- git shell显示中文
- git shell显示中文
- git 显示中文
- git status 显示中文
- git status显示中文
- git 中文显示问题
- Git中文显示乱码
- git status中文显示乱码
- git status 显示中文乱码
- Git windows下git bash显示中文
- ssh secure shell中文显示乱码问题
- SSH Secure Shell Client显示中文乱码
- 在linux终端和shell显示中文
- SSH Secure Shell显示中文设置
- SSH Secure Shell Client显示中文乱码
- 让ADB SHELL 中正常显示中文
- ssh secure shell中文显示乱码问题
- SSH Secure Shell Client显示中文乱码
- iPhone之Quartz 2D系列--图形上下文(2)Graphics Contexts
- libc.so.6 动态库被重命名,命令不能执行
- 5种开源协议比较
- 用户 'IIS APPPOOL\ASP.NET v4.0' 登录失败 怎么解决
- Linux进程间通信——消息队列
- git shell显示中文
- iPhone之Quartz 2D系列--路径(3)Paths
- 动态规划之最长递增子序列问题详解
- UI常用布局<二>------相对布局(RelativeLayout)
- 从IClassFactory为{...}的COM组件创建实例失败
- uva 1484 - Alice and Bob's Trip(树形dp)
- java特点、环境搭建、及hello word学习
- Django的ModelForm简单用法
- 重装grub