Remove a particular file
git rm --cached paper.txt
git add paper.txt
git commit -m "remove file paper.txt"
git pushRemove all files
git rm --cached -r .
git add .
git commit -m "remove all files from .gitignore"
git pushgit rm --cached paper.txt
git add paper.txt
git commit -m "remove file paper.txt"
git pushgit rm --cached -r .
git add .
git commit -m "remove all files from .gitignore"
git push