如何为包含空格的文件定义 .gitattributes 规则?

How do I define a .gitattributes rule for a file with spaces in it?

我已经阅读了 documentation on .gitattributes and searched Stack Overflow 中对这个问题的简单回答,但到目前为止还没有找到。我有一个包含 spaces 的文件,就像这样。

Reserved\ Slots.txt merge=mergeslots

我也尝试过使用引号而不是转义 space。

"Reserved Slots.txt" merge=mergeslots

如何为包含 space 的文件使用自定义合并驱动程序?

根据Whitespace in .gitattributes patterns使用

[[:space:]]
# as in
has[[:space:]]spaces