0

I created .gitignore and within it I put config/db.js because I want to connect to my localhost db, but still when I change the file db.js in config folder git still track the changes.

Jamie Jordan
  • 241
  • 1
  • 4
  • 16

1 Answers1

1

Try:

git rm --cached config/db.js
Pan Long
  • 1,024
  • 1
  • 9
  • 16