Created
May 6, 2020 19:02
-
-
Save r3code/03b97cd630162579a06fc3598acfb054 to your computer and use it in GitHub Desktop.
Gitconfig для Windows исправить кракозябры в сообщениях git log с русскими комменариями к коммиту
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; почерпнуто из https://habr.com/ru/post/74839/ | |
; чтобы видеть нормально русские символы для git reflog нужно еще iconv | |
[core] | |
repositoryformatversion = 0 | |
filemode = false | |
bare = false | |
logallrefupdates = true | |
symlinks = false | |
ignorecase = true | |
quotepath = false | |
pager = cat|more.com | |
; альтернатива, скачать: iconv.exe, libcharset1.dll, libiconv2.dll, libintl3.dll (http://gnuwin32.sourceforge.net/packages/libiconv.htm) и положить рядом с git.exe | |
; заменить опцию pager на | |
; pager = iconv.exe -f cp1251 -t utf-8 | less | |
editor = \"C:\\Users\\User1\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe\" --wait | |
[i18n] | |
commitencoding = cp1251 | |
logoutputencoding = cp866 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment