我一直在努力尝试教导msysgit
如何在德语中处理德语元音变音(äöü)提交评论。没有运气.....Git和PowerShell以及德语变音器
所以我想我可能会尝试使用PowerShell和它的git集成(PoshGit)。再次但是 - 没有运气:
D:\temp\test [ +12 ~0 -0 !]> git add --all
D:\temp\test [ +12 ~0 -0]> git commit -m "Einige Dateien hinzugefügt"
Warning: commit message does not conform to UTF-8.
You may want to amend it after fixing the message, or set the config
variable i18n.commitencoding to the encoding your project uses.
[master (root-commit) 085b7d6] Einige Dateien hinzugef?gt
12 files changed, 3320 insertions(+), 0 deletions(-)
( “Einige Dateienhinzugefügt”=增加了一些文件)
有趣 - 我能有发誓,德国变音是UTF-8标准的一部分.....嗯......
千真万确:
D:\temp\test [master]> git log
085b7d6 (HEAD, master) Einige Dateien hinzugef<FC>gt [Marc Scheuner] [4 seconds ago]
没有香蕉: - (
究竟是什么我必须做的就是要么msysgit
(以下简称“混帐的bash”)或PowerShell的上提交意见和Git进行合作?我甚至要求支持具有变音符号,现在的文件名...只是评论(纯文本).....
另外:把这个
[i18n]
commitencoding = ISO-8859-1
logoutputencoding = ISO-8859-1
到我.gitconfig
也没有按”不像是会具有我提交意见和git log
任何影响 .... :-(
任何想法?思考?指针??
为什么不使用编辑器来编写提交消息而不是在命令行中传递它们?或者只是像我一样做,并使用英语提交信息:p – ThiefMaster
@ThiefMaster:我们有一个政策,使用德国的评论,坦率地说,我很高兴 - 那些“Engrish”的评论将是可怕的..... –
我希望你不需要使用德语变量/函数名;) - 无论如何,我只是简单地省略'-m“...”'让git启动一个编辑器。 – ThiefMaster