xxxxxxxxxx
> git rm -r --cached .
> git add .
> git commit -m 'git cache cleared'
> git push
xxxxxxxxxx
git rm -r --cached .
#when we add some file path later in .gitignored. Git may not ignored that file
#so to make that file ignored by git we type above command.
xxxxxxxxxx
git rm -r --cached .
git add .
git commit -am 'git cache cleared - tryvary'
git push origin branch_name