DEV Community

Indra Wahyu
Indra Wahyu

Posted on • Updated on


Clear Cache After Create .gitignore

My Problem

I commit and push venv to github and I want to remove them from Github

My Solution

Use This code

git rm -r --cached venv
git commit -m 'Remove the now ignored directory "venv"'
git push origin master
Enter fullscreen mode Exit fullscreen mode


Top comments (2)

souibguimohamed profile image
Mohamed Souibgui

Thank you Indra for sharing

bukanspot profile image
Indra Wahyu

Yes, of course 😊

An Animated Guide to Node.js Event Loop

>> Check out this classic DEV post <<