Last active
February 16, 2021 21:51
-
-
Save otakupahp/22a66b27d47482d870e70f6e1e65e2d1 to your computer and use it in GitHub Desktop.
Git attributes configuration for any new WP Plugin using PHPStorm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fix EOL error for multiple environments for text files | |
*.* text eol=lf | |
# set image and fonts as binary | |
*.png binary | |
*.jpg binary | |
*.gif binary | |
*.pdf binary | |
*.eps binary | |
*.zip binary | |
*.mp4 binary | |
*.webm binary | |
*.woff binary | |
*.woff2 binary | |
*.ttf binary | |
*.ico binary | |
# used to remove files from deployment using `git archive` | |
# git files | |
.gitattributes export-ignore | |
.gitignore export-ignore | |
# PHP Storm files | |
.idea export-ignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment