vscode gitignore doesn't work 1

vscode gitignore doesn’t work

// warning it removes all your curent uncomited changes 
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"

Here is what the above code is Doing:
1. git rm -r –cached .
– Remove all files from the index.
2. git add .
– Re-add all files to the index.
3. git commit -m “.gitignore is now working”
– Commit the changes.

Similar Posts