In the root directory Project, git init
Then I wanted to git add -A all the files into the temporary storage area, but in the end only gulpfile.js, bower.json, and publicindex.html were successfully put into the temporary storage area. Area, others cannot be put in, maybe it is a common sense mistake, but please give me some advice, thank you.
These files are still in the workspace and have not been entered into the temporary storage area. You need to git add --all or selectively add git add file
Reference for specific concepts:
http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/0013745374151782eb658c5a5ca454eaa451661275886c60 00
Brother, red does not mean an error is reported. The red lines mean that your files have never been added to the git repository, so they are untracked.