git push 出现untracked content

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git push 出现untracked content相关的知识,希望对你有一定的参考价值。

解决办法:后来发现这主要是source/_post目录下有一个.git 目录,可能是被人给你这个目录的时候里面有了.git目录。删除.git目录。重新git add .就可

以上是关于git push 出现untracked content的主要内容,如果未能解决你的问题,请参考以下文章

git解决error: The following untracked working tree files would be overwritten by checkout

Git - Error:The following untracked working tree files would be overwritten by checkout

删除Git的untracked files

git学习记录

Git 取消跟踪(untrack)

git报错-Initial commit Untracked files nothing added to commit but untracked