Git Remove File From Commit History

  1. write file that you want delete in .gitignore, then

  2. write this command to remove file from git cache

git rm --cached <file>
  1. commit
© 2025. Builth with 💖 by: Ade Pranaya