[英]Git context menu in Windows Exporer has a “git bash” option but it doesn't work
[英]git bash on windows: interactive mode doesn't work
嗯,问题在于任何涉及到补丁操作的命令都无法以以下方式工作:
<stdin>:16: trailing whitespace.
<stdin>:17: trailing whitespace.
<stdin>:18: trailing whitespace.
<stdin>:19: trailing whitespace.
<stdin>:20: trailing whitespace.
warning: recount: unexpected line:
fatal: corrupt patch at line 101
(结果?)交互模式不起作用。
尝试调整core.whitespace
失败。
请帮助我解决这个令人讨厌的问题。
该消息通常在检查非ASCII内容时来自pre-commit
钩子。
样本预提交钩子可能正在检查尾随空白。
要禁用它,请查看.git/hooks
并确保其中的文件不可执行。
###git-stripspace
阅读https://www.kernel.org/pub/software/scm/git/docs/git-stripspace.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.