Computer Science/Git

git local cache deletion

RIAGOL 2024. 3. 7. 09:00

https://blog.naver.com/sy9777m/223350880794

 

git local cache deletion

When .gitignore doesn’t work, after removing local git cache, it works properly. This command mea...

blog.naver.com


When .gitignore doesn’t work, after removing local git cache, it works properly.

 

git rm --cached -r .

 

This command means to remove caches in this working directory recursively. If you want to remove caches of a specific directory selectively, then you can specify the position of the directory.

 

Photo by Gabriel Heinzer on Unsplash