🎉 Initial git configuration files.

pull/1/head
Zhang Peng 2017-08-08 14:39:24 +08:00
parent 2fec872059
commit 949842dd42
2 changed files with 101 additions and 0 deletions

75
.gitattributes vendored 100644
View File

@ -0,0 +1,75 @@
* text=auto eol=lf
# plan text
*.txt text
*.java text
*.scala text
*.groovy text
*.gradle text
*.xml text
*.xsd text
*.tld text
*.yaml text
*.yml text
*.wsdd text
*.wsdl text
*.jsp text
*.jspf text
*.js text
*.jsx text
*.json text
*.css text
*.less text
*.sql text
*.properties text
# unix style
*.sh text eol=lf
# win style
*.bat text eol=crlf
# don't handle
*.der -text
*.jks -text
*.pfx -text
*.map -text
*.patch -text
*.dat -text
*.data -text
*.db -text
# binary
*.jar binary
*.war binary
*.zip binary
*.tar binary
*.tar.gz binary
*.gz binary
*.apk binary
*.bin binary
*.exe binary
# images
*.png binary
*.jpg binary
*.ico binary
*.gif binary
# media
*.mp3 binary
*.swf binary
# fonts
*.eot binary
*.svg binary
*.ttf binary
*.woff binary
# others
*.pdf binary
*.doc binary
*.docx binary
*.xls binary
*.xlsx binary
*.xmind binary

26
.gitignore vendored 100644
View File

@ -0,0 +1,26 @@
################ Javascript ################
# dependencies
node_modules
# temp folders
build
dist
_book
_jsdoc
# temp files
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
bundle*.js
################ IDEA ################
.idea
*.iml
################ Eclipse ################
.classpath
.project