Hacker News new | past | comments | ask | show | jobs | submit login

Sounds like you already committed it before adding it to the gitignore. Here's a fix:

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.




In 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: