3 ms·
Sounds like you already committed it before adding it to the gitignore. Here's a fix: https://stackoverflow.com/questions/13541615/how-to-remove-files-that-are
by SebastianKra 6y ago
Sounds like you already committed it before adding it to the gitignore. Here's a fix:
https://stackoverflow.com/questions/13541615/how-to-remove-files-that-are-listed-in-the-gitignore-but-still-on-the-repositor#13541721 https://stackoverflow.com/questions/13541615/how-to-remove-f...
...but this shouldn't be a problem with a good git client such as Fork (git-fork.com) or SourceTree. They show you the changed files and let you select which ones to commit.
I would never commit anything without at least skimming the changes first.
- catchmeifyoucan 6y agoIn the GitHub client - if you point it to a folder and say “add repo from existing folder” it automatically makes an “init commit”. So you don’t get a chance. I’ll keep an eye on it next time.