Git Version Control Tutorials1 Min Read Akhil BonAugust 14, 2026 How to Make Git Forget a Tracked File After Adding It to .gitignore Stop tracking a file that is already in Git history while keeping it on disk, then ignore it going forward.