Top "Gitattributes" questions

Git attributes provide the option to set various settings for a set of files/directories.

Git messed up my files, showing chinese characters in some places

disclaimer: By Git, I mean 'I' messed up. Earlier, I wanted git-gui to show me the diff for which it …

git unicode gitattributes
How do I set all files in a subdirectory to use a specific eol using gitattributes?

I've been trying to set specific files to always use lf and not crlf regardless of autocrlf on the local …

git gitattributes
Avoid "No newline at end of file" in git diff

I'm quite sure I understand what No newline at end of file means. I want to provide a pull request …

git line-endings gitattributes lf
Git CRLF for windows users

I know that there are tons of articles about this issue. But I'm struggling with it for couple of weeks …

windows git gitattributes core.autocrlf
git archive : export-ignore, ignoring directories

I have a git repository with this .gitattributes: my_script.py export-subst Makefile export-ignore README.md export-ignore .gitattributes export-ignore .gitignore …

git gitattributes git-archive
What does "!eol" in gitattributes do?

Recently I came across the following entry in a .gitattributes file: "* text=auto !eol" What does !eol do?

git line-endings eol gitattributes