git_attributes

Basics of attributes, .gitattributes file.

Using attributes, you can do things like specify separate merge strategies for individual files or directories in your project, tell Git how to diff non-text files, or have Git filter content before you check it into or out of Git. Links:

*.c   diff=cpp
*.h   diff=cpp
*.pbxproj binary
*.docx diff=word
  • git_attributes.txt
  • Last modified: 2019/03/15 07:45
  • by rpjday