Using Git as SCM and exclude configuration files

Some links to work with GIT
git
Published

August 25, 2015

Hi, this post is devoted to explain how do I deal with configuration files when I post them to GIT. There are very sofisticated proposals: - Git Tools - Interactive Staging - when you have secret key in your project, how can pushing to GitHub be possible?

But the working thing to me is the following: 1. First push the empty config file to your repo. 1. Then tell git to ignore the updates on that file

Jose Enrique@MORTIMER /C/Users/Jose Enrique/Documents/nodejs_mongo/nodejs_mongo_server (master)
$ git update-index --assume-unchanged config/config.js</pre>