How to Ignore files when commiting to a git repository rails 4 : <p>I am try to ignore development.rb, database.yml files when commiting to a git repository</p>

<p><strong>.gitignore</strong></p>

<p>config/environments/development.rb</p>

<p>config/database.yml</p>
