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 🙁
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!