Git · Junior · Question 59 of 75

What is a .gitattributes file used for?

Explanation

For example * text=auto normalizes line endings, and *.png filter=lfs stores images in Git LFS. It's committed, so the whole team gets the same rules.

Further reading

Problem with a question

Git · Junior · question 59

Test yourself

Take the Git · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz