How can I make Git "forget" about a file that was tracked, but is now in .gitignore? How can I make Git "forget" about a file that was tracked, but is now in .gitignore? git git