.gitignore ignoriert Regel

Manchmal fügt man eine Regel zu Spät in die .gitignore Liste ein und man hat hunderte von Dateien in dem Repository die man eigentlich nicht will. Einfach zu lösen:

git rm -r --cached .
git add .
git commit -m "fixed untracked files"

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.