0

At the start of the project I add .gitignore file to the project, I add all the files I wanna ignore inside there. That fine.

But as the project goes on when I build the project

the app automatically adding new files, which is not necessary for them to goes into the GitHub.

So What command should I write to ignore this file

For example, in the below scenario I wanna ignore the files inside the ignore folder. I already added the wannaIgnoreFolder into the .gitignore file but when I type git add . they still shows up in the git status

 wannaIgnoreFolder
 index.js
 app.js
 app.css
Kerry
  • 272
  • 1
  • 13

0 Answers0