2017-07-22 15:31:30 +08:00
|
|
|
//this will affect all the git repos
|
|
|
|
git config --global core.excludesfile ~/.gitignore
|
|
|
|
|
|
|
|
|
|
|
|
//update files since .ignore won't if already tracked
|
|
|
|
git rm --cached <file>
|
|
|
|
|
|
|
|
# Compiled source #
|
|
|
|
###################
|
|
|
|
*.com
|
|
|
|
*.class
|
|
|
|
*.dll
|
|
|
|
*.exe
|
|
|
|
*.o
|
|
|
|
*.so
|
|
|
|
|
|
|
|
# Packages #
|
|
|
|
############
|
|
|
|
# it's better to unpack these files and commit the raw source
|
|
|
|
# git has its own built in compression methods
|
|
|
|
*.7z
|
|
|
|
*.dmg
|
|
|
|
*.gz
|
|
|
|
*.iso
|
|
|
|
*.jar
|
|
|
|
*.rar
|
|
|
|
*.tar
|
|
|
|
*.zip
|
|
|
|
|
|
|
|
# Logs and databases #
|
|
|
|
######################
|
|
|
|
*.log
|
|
|
|
*.sql
|
|
|
|
*.sqlite
|
|
|
|
|
|
|
|
# OS generated files #
|
|
|
|
######################
|
|
|
|
.DS_Store
|
|
|
|
.DS_Store?
|
|
|
|
._*
|
|
|
|
.Spotlight-V100
|
|
|
|
.Trashes
|
|
|
|
# Icon?
|
|
|
|
ehthumbs.db
|
|
|
|
Thumbs.db
|
|
|
|
.cache
|
|
|
|
.project
|
|
|
|
.settings
|
|
|
|
.tmproj
|
|
|
|
*.esproj
|
|
|
|
nbproject
|
|
|
|
|
|
|
|
# Numerous always-ignore extensions #
|
|
|
|
#####################################
|
|
|
|
*.diff
|
|
|
|
*.err
|
|
|
|
*.orig
|
|
|
|
*.rej
|
|
|
|
*.swn
|
|
|
|
*.swo
|
|
|
|
*.swp
|
|
|
|
*.vi
|
|
|
|
*~
|
|
|
|
*.sass-cache
|
|
|
|
*.grunt
|
|
|
|
*.tmp
|
|
|
|
|
|
|
|
# Dreamweaver added files #
|
|
|
|
###########################
|
|
|
|
_notes
|
|
|
|
dwsync.xml
|
|
|
|
|
|
|
|
# Komodo #
|
|
|
|
###########################
|
|
|
|
*.komodoproject
|
|
|
|
.komodotools
|
|
|
|
|
|
|
|
# Node #
|
|
|
|
#####################
|
|
|
|
node_modules
|
|
|
|
|
|
|
|
# Bower #
|
|
|
|
#####################
|
|
|
|
bower_components
|
|
|
|
|
|
|
|
# Folders to ignore #
|
|
|
|
#####################
|
|
|
|
.hg
|
|
|
|
.svn
|
|
|
|
.CVS
|
|
|
|
intermediate
|
|
|
|
publish
|
|
|
|
.idea
|
|
|
|
.graphics
|
|
|
|
_test
|
|
|
|
_archive
|
|
|
|
uploads
|
|
|
|
tmp
|
|
|
|
|
|
|
|
# Vim files to ignore #
|
|
|
|
#######################
|
|
|
|
.VimballRecord
|
|
|
|
.netrwhist
|
2018-07-11 05:28:18 +08:00
|
|
|
|
|
|
|
# Debug files to ignore #
|
2019-06-07 15:29:42 +08:00
|
|
|
#########################
|
2018-07-11 05:28:18 +08:00
|
|
|
example.js
|
2019-03-30 11:04:31 +08:00
|
|
|
|
2019-06-07 15:29:42 +08:00
|
|
|
# Build directories #
|
|
|
|
#####################
|
2019-03-30 11:04:31 +08:00
|
|
|
build
|
2020-06-07 04:56:40 +08:00
|
|
|
dist
|
2020-02-14 05:01:03 +08:00
|
|
|
|
|
|
|
# Files to ignore #
|
|
|
|
#####################
|
|
|
|
package-lock.json
|
2020-06-07 04:56:40 +08:00
|
|
|
merkletree.js
|