github - git添加文件到仓库总是报错?
phpcn_u1582
phpcn_u1582 2017-05-02 09:47:22
0
3
678

我使用git提交一个文件夹到仓库,但如图所见,即使在git commit后,依然会提示未提交,请教各位这是为什么呢,该如何解决呢?

phpcn_u1582
phpcn_u1582

reply all(3)
仅有的幸福

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"

phpcn_u1582

Just do it like this, but it is not recommended to use the --all option

frequently.
git add --all
git commit -m "备注"
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template