Skip to content

Source control considerations when using git or hg i.e. ignore files

Justin Parker edited this page Dec 6, 2024 · 13 revisions

Example 'ignore' files

.gitignore file:

# NODEL START

# typical large binaries
*.jar
*.zip
*.exe
*.dll
*.7z
*.gz
*.tar
*.apk

# backup files
*.save
*.backup
*.bac

 # source control or development tools related
.hg
.hgignore

# Nodel Host dynamic files
.lastHTTPPort
_instance.lock
_lastError.txt
.version

# Nodel Host embedded content
webui_cache

# Script metadata or example files
*_example*
*_backup*
*_schema*

# Ignored nodes
nodes/_*

# Script dynamic files
*.class
.nodel/

# official recipes git repo
nodel-official-recipes/

# node.js remnants
node_modules/

# anything logging
*.log
/log/*
/logs/*

# any JVM crash dumps will be included
# e.g. hs_err_pid*.log (covered above), Snap._____.trc, core.____.dmp, heapdump._____.phd, javacore._____.txt
javacore*.txt
heapdump*.phd
*.dmp
*.trc

# commons binaries folder
bin/
service/

# apple metadata
.DS_Store

# NODEL END