Git Ignore Files
touch .gitignore
git add .gitignore
git commit .gitignore -m "Adding the ignore file".
The .gitignore file contains a pattern on each line. This list out the files
that we want Git to ignore. Sample .gitignore file:
.DS_Store
.project
*.pyc
*.log
build/
temp-
git ls-files --other --ignored --exclude-standard // Lists all ignored files in
// this project
# eclipse
.project
.settings
salesforce.schema
Referenced Packages
# mavensmate
config
mm*.log
*.sublime-project
*.sublime-settings
*.sublime-workspace
# webstorm/jetbrains
.idea
# foreman
.env
# node
node_modules
# Mac OS X
.DS_Store
# webapp resource bundle built by gulp
resource-bundles/webapp.resource/*
!resource-bundles/webapp.resource/.gitkeep
npm-debug.log
debug/
We should put nodemon.* in the .gitignore_global file in our home directory and
do not forget to initialize it with:
git config --global core.excludesfile ~/.gitignore_global.
This way, we can have multiple nodemon.json templates in our projects.
page revision: 4, last edited: 29 Jan 2017 02:50