github - git always reports an error when adding files to the warehouse?
phpcn_u15822017-05-02 09:47:22
0
3
693
I use git to submit a folder to the warehouse, but as you can see in the picture, even after git commit, it still prompts that it has not been submitted. Please tell me why this is and how to solve it?
It should be that the directory where your submitted file is located has been ignored, so commit is useless. Check the .gitignore file. If it has been deleted, add it again
It should be that the directory where your submitted file is located has been ignored, so commit is useless. Check the .gitignore file. If it has been deleted, add it again
git commit -am "baidu_ife"
Just do it like this, but it is not recommended to use the
frequently.--all
option