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 ๐Ÿ˜Š

Dark Mode

๐ŸŒš Friends don't let friends browse without dark mode.

Just kidding, it's a personal preference. But you can change your theme, font, etc. in your settings.