I am very new to git. I have a .gitignore in the my working folder.
*.jpg
*.gif
*.png
system/*
*/Zend/*
.idea/*.*
Well, I did git init
and then git add *
. At this it worked fine and ignored the above files. But when I did some changes, ran the same command it puts the ignored files into staging area. The reason why I am using git add *
is because I work on many files and adding each file would be a overkill.
Update: Here are messages when I run git add *
second time..
#new file: application/vendors/Zend/XmlRpc/Value/String.php
#new file: application/vendors/Zend/XmlRpc/Value/Struct.php
...
The list is too long.