git add 出现的问题

warning: adding embedded git repository: NeteaseCloudMusicApi
hint: You’ve added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint:
hint: git submodule add NeteaseCloudMusicApi
hint:
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint:
hint: git rm --cached NeteaseCloudMusicApi
hint:
hint: See “git help submodule” for more information.

 

解决办法:删除这个.git文件夹。

git push 出现的问题

 解决办法:此处我的用webstorm创建vue项目时,文件自带.idea文件夹。将这个文件夹删除就行了。

 

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐