Skip to content

Instantly share code, notes, and snippets.

@otakupahp
Last active February 16, 2021 21:51
Show Gist options
  • Save otakupahp/22a66b27d47482d870e70f6e1e65e2d1 to your computer and use it in GitHub Desktop.
Save otakupahp/22a66b27d47482d870e70f6e1e65e2d1 to your computer and use it in GitHub Desktop.
Git attributes configuration for any new WP Plugin using PHPStorm
# 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