You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
git lfs blows up when a space is present in filename #298
all goes well until I do a push or similar, then I get
file/with/a is not a valid attribute name: .gitattributes:1
and manually adding quotes around the file name in .gitattributes doesn't help. This is pretty brutal. Is there a config option or somesuch that enables this behavior. I don't personally use spaces in file names, but some of my users do.
This seems to be a limitation in the gitattributes file. But if [[:space:]] works, we can have git lfs track insert it in place of spaces pretty easily.
Activity
technoweenie commentedon May 11, 2015
Try editing your
.gitattributes, using[[:space:]]in place of actual spaces.This seems to be a limitation in the gitattributes file. But if
[[:space:]]works, we can havegit lfs trackinsert it in place of spaces pretty easily.kernelsmith commentedon Jun 3, 2015
It's probably clear at this point that [[:space]] did fix the problem. Thanks for that as well as the PR to fix!