-3

I am try to ignore development.rb, database.yml files when commiting to a git repository

.gitignore

config/environments/development.rb

config/database.yml

Santosh Kumbhar
  • 183
  • 3
  • 12

2 Answers2

0

Please add this 2 lines in .gitignore file

/config/environments/development.rb
/config/database.yml
Vishal
  • 6,718
  • 6
  • 24
  • 57
0

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

fool-dev
  • 7,416
  • 8
  • 36
  • 51