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

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=tYyhs_GQGC4



Duration: 5:00
0 views
0


How do I make Git forget about a file that was tracked, but is now in .gitignore?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(stackoverflow.com/users/16957/ivan)Ivan |
(stackoverflow.com/users/19563/cb-bailey)CB Bailey |
(stackoverflow.com/users/32598/matt-frear)Matt Frear |
(stackoverflow.com/users/2808879/konstantin)Konstantin |
(stackoverflow.com/users/90874/thsoft)thSoft |
(stackoverflow.com/users/87002/joel-hooks)Joel Hooks |
A special thanks goes out to the (https://stackoverflow.com/questions/1274057/how-do-i-make-git-forget-about-a-file-that-was-tracked-but-is-now-in-gitignore)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

git gitignore git-rm







Tags:
git
gitignore
git-rm