I am try to ignore development.rb, database.yml files when commiting to a git repository
.gitignore
config/environments/development.rb
config/database.yml
I am try to ignore development.rb, database.yml files when commiting to a git repository
.gitignore
config/environments/development.rb
config/database.yml
Please add this 2 lines in .gitignore file
/config/environments/development.rb
/config/database.yml
Try the following adding /
on the start on .gitignore
file
/config/environments/development.rb
/config/application.yml
Here is the .gitignore well formatting documentation.
Hope it helps