Skip to content
Snippets Groups Projects
.gitattributes 560 B
Newer Older
  • Learn to ignore specific revisions
  • # Set the default behavior, in case people don't have core.autocrlf set.
    * text=auto
    
    # Explicitly declare text files you want to always be normalized and converted
    # to native line endings on checkout.
    .gitignore text
    Makefile text
    LICENSE text
    *.c text
    *.h text
    *.py text
    *.xml text
    *.yml text
    *.md text
    *.rst text
    *.txt text
    *.env text
    *.smt2 text
    *.sl text
    
    # Declare files that will always have CRLF line endings on checkout.
    *.bat text eol=crlf
    
    # Denote all files that are truly binary and should not be modified.
    *.png binary
    *.jpg binary
    *.pdf binary