gitignore file in folder not working code example
Example 1: updated gitignore not working
git rm -r --cached .
git add .
git commit -m "fixed untracked files"
Example 2: git ignore file is not working
git rm -rf --cached .
git add .
Example 3: git ignore all files and folders in folder
*
*/
!.gitignore