.gitignore is not ignoring files
Ok so yesterday I asked on how
.gitignore files work. So I made a .gitignore on my playground repl to test out the feature. But for some reason one of my files is not being ignored because it was already committed to! So I did
git rm --cached ignore.js, and sure enough: it was still there. I also tried
git rm -r --cached . with no success either. So does anybody know why this is happening? It works just fine for other files.
.gitignore is not ignoring
ignore.js, I tried
git rm --cached ignore.js and
git rm -r --cached ..
You can't ignore already committed files.
You can delete
ignore.js in your GitHub repo, and in the repl try making some changes to the code, and commit + push again. It should be ignored.
مَا شَاءَ ٱللَّٰ
Masha'Allah, is an Arabic phrase that is used to express appreciation, joy, praise, or thankfulness for an event or person that was just mentioned. It is also a common expression used in the Muslim world to wish for God's protection of something or someone from the evil eye.
idk why i am commenting this