bash - Can I make Git's core.autocrlf ignore a file? -


is there way make git's core.autocrlf ignore specific file?

i'm working on linux project people on windows , have bash script in repository executed on virtual machine (vagrant + virtualbox) during provisioning phase. problem when windows users pull repo, git's autocrlf adds cr character every line , vagrant complains when executing script. there way make git not add cr character file?

any appreciated.

thanks!

use '.gitattributes' file (and that's recommended way of doing, , not rely on autocrlf setting).


Comments