Hi All, So I have the usual Vagrant stuff going on, writing a lot of bash scripts (ugh, I know). I want to force all EOLs in all files to be LF-only (i.e. linux style) regardless of the host OS. This is because I want the bash scripts to actually run in the Vagrant VM (via /vagrant sync'ed folder). I also want this enforced regardless of what Git config a windows user may have set, i.e. I want any local global settings overwritten. Lastly I have 1 binary file so I'd prefer not to attempt to strip its CRLFs :-)
This is what I have right now. However it is messing with my binary file. I have Googled a ton (please believe me) but I find the results confusing and/or out of date. Any help appreciated, thanks in advance, Paul user@server vagrant$ cat .gitattributes # Make all text files linux-style LF as these will be run from within the guest VM *.* text=lf *.* text eol=lf *.* eol=lf -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
