-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
  • 15

2 Answers2

0

Please add this 2 lines in .gitignore file

/config/environments/development.rb
/config/database.yml
Vishal
  • 7,113
  • 6
  • 31
  • 61
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,671
  • 9
  • 40
  • 54