Article
home/blog/Loading

How to remove a file from a Git Repo

To remove a file from a git repository you need to remove the cached version of it.

Removing a cached git file example

git rm **--cached** filename