A very stupid .gitignore file :(

I created a .gitignore file and inserted few directories in it. When i ran this command,

git add *

Got this error message

The following paths are ignored by one of your .gitignore files:

myfiles/

Use -f if you really want to add them. fatal: no files added

After doing some research on the internet, found this: http://stackoverflow.com/a/6609441

It worked after i added a comment. Now, when i remove the comment, it still works. WTF!?

Programmers’ life suck 🙁

One thought on “A very stupid .gitignore file :(

  1. You are doomed as a programmer! 😛
    As far as possible I try to keep my private life far from programming stuffs!!! I do not feel like repairing my own PC most of the time!

Leave a Reply

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