Make Git Forget A File

[Solved] Make Git Forget A File | Shell - Code Explorer | yomemimo.com
Question : make git forget a file

Answered by : outrageous-opossum-9qpvwl7yrt26

git rm -r --cached <folder>

Source : https://stackoverflow.com/questions/1274057/how-to-make-git-forget-about-a-file-that-was-tracked-but-is-now-in-gitignore | Last Update : Mon, 08 Feb 21

Question : make git forget a file

Answered by : joyous-jellyfish-y7rcd059j0bk

git rm --cached <file>

Source : https://stackoverflow.com/questions/1818895/keep-ignored-files-out-of-git-status | Last Update : Thu, 11 Jun 20

Answers related to make git forget a file

Code Explorer Popular Question For Shell