The file database.yml is not been ignored on a rails app. -


i building rails application, on .gitignore trying ignore database.yml /config/database.yml reason not been ignored.

i suppose config/database.yml committed, therefor present in repo. , .gitignore tells ignore further changes file.

just run command:

git rm --cached config/database.yml 

Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

Fatal error: Call to undefined function menu_execute_active_handler() in drupal 7.9 -

python - RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK -