git 库中有库的问题

来源:互联网 发布:斗鱼主播都用什么软件 编辑:程序博客网 时间:2024/06/05 13:31

问题:

将仓库b整个拷贝到仓库a中,无法将b的内容推送到远程仓库

git status
On branch develop_zyy
Changes not staged for commit:
(use “git add …” to update what will be committed)
(use “git checkout – …” to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)

    modified:   gosnmp (untracked content)

解决办法:

将被库b中的.git .gitignore删除,再add, commit ,push。

原创粉丝点击