新聞中心
windows下git中文亂碼如何解決?
進(jìn)入git安裝目錄,改一下配置就可以基本解決:

1、etcgitconfig: [gui] encoding=utf-8 [i18n] commitencoding=gbk [svn] pathnameencoding=gbk 說明:打開Git環(huán)境中的中文支持。pathnameencoding設(shè)置了文件路徑的中文支持。
2、etcgit-completion.bash: aliasls='ls--show-control-chars--color=auto' 說明:使得在GitBash中輸入ls命令,可以正常顯示中文文件名。
3、etcinputrc: setoutput-metaonsetconvert-metaoff 說明:使得在GitBash中可以正常輸入中文,比如中文的commitlog。
4、etcprofile: exportLESSCHARSET=iso8859#或者utf-8、gbk 說明:$gitlog命令不像其它vcs一樣,n條log從頭滾到底,它會恰當(dāng)?shù)赝T诘谝豁?,按space鍵再往后翻頁。這是通過將log送給less處理實現(xiàn)的。以上即是設(shè)置less的字符編碼,使得$gitlog可以正常顯示中文。其實,它的值不一定要設(shè)置為utf-8,比如latin1也可以……。還有個辦法是$git–no-pagerlog,在選項里禁止分頁,則無需設(shè)置上面的選項。
stan3歌詞?
回答:stan3歌詞——
stan歌詞
Written by:Stan/Dido/Marshall Mathers/Dido Armstrong/P. Herman
My tea's gone cold I'm wondering why I
Got out of bed at all
The morning rain clouds up my window
{STAN}歌詞的中文意思?
《Stan》
填 詞:埃米納姆,Dido,保羅·哈蒙
譜 曲:埃米納姆,Dido,保羅·哈蒙
歌曲原唱:埃米納姆,Dido
Chorus: Dido
My tea's gone cold I'm wondering why I..
我的茶涼了,為什么……
got out of bed at all
我的心情總是不好。
The morning rain clouds up my window..
到此,以上就是小編對于的問題就介紹到這了,希望這3點解答對大家有用。
文章標(biāo)題:windows下git中文亂碼如何解決?windowspager
分享地址:http://m.jiaoqi3.com/article/cdhpdsp.html


咨詢
建站咨詢
