Git Remove File From Commit History
-
write file that you want delete in .gitignore, then
-
write this command to remove file from git cache
git rm --cached <file>
- commit
write file that you want delete in .gitignore, then
write this command to remove file from git cache
git rm --cached <file>