github.com/drud/ddev@v1.21.5-alpha1.0.20230226034409-94fcc4b94453/.gitattributes (about)

     1  # Article: https://help.github.com/articles/dealing-with-line-endings/
     2  # Helpful examples: https://github.com/alexkaratarakis/gitattributes
     3  # Way more than you can stand to read: https://git-scm.com/docs/gitattributes
     4  
     5  # In general on this project there's no reason to have git changing line endings.
     6  # Modern editors can do the right thing with lf and should be set to do so, whether
     7  # on Windows or elsewhere.
     8  # The incredibly big gotcha here is that if a *.sh gets checked out on Windows with CRLF and then built
     9  # into a container with the CRLF, it can't run in linux.
    10  
    11  # -text here essentially is the same as core.autocrlf=false
    12  * -text eol=lf
    13  
    14  *.png binary
    15  *.jpg binary
    16  *.jpeg binary
    17  *.JPG binary
    18  *.JPEG binary
    19  *.tar binary
    20  *gz binary
    21  *MY? binary