在 Git Tower 内部,我存储了大约 26 个文件。但是,当我尝试将存储应用回我的工作树时,我收到关于尾随空格的错误。
如何成功应用存储,绕过该错误?
这是完整的错误消息:
<stdin>:87: trailing whitespace.
// query code
<stdin>:88: trailing whitespace.
// query code
<stdin>:104: trailing whitespace.
// query code
<stdin>:118: trailing whitespace.
// query code
<stdin>:119: trailing whitespace.
//error code
error: patch failed: app/Http/Controllers/ProjectController.php:43
error: app/Http/Controllers/ProjectController.php: patch does not apply
error: patch failed: resources/views/projects/filter.blade.php:1
error: resources/views/projects/filter.blade.php: patch does not apply
Conflicts in index. Try without --index.