【问题标题】:Git pull not working properly?git pull 不能正常工作?
【发布时间】:2014-11-09 19:27:41
【问题描述】:

我的仓库结构是这样的:

Main folder
|-- A
|    |-- some 
|    +-- files
|
+-- B
    |-- some
    |-- more
    +-- files

但是当我拉它时,只有A 文件夹在那里。

【问题讨论】:

  • B是子模块吗? (你的主文件夹中有 .gitmodules 文件吗?)
  • Git pull not pulling everything 的可能重复项
  • @VonC 不,主目录中没有 .gitmoduoles 文件。 :(

标签: git git-pull git-clone


【解决方案1】:

尝试:

git clone --recursive

它将下载.gitmodules中列出的任何Git submodules

【讨论】:

  • @Riturajratan 我已经用不带 Git 子模块的可能解决方案(重置)更新了我的答案。
猜你喜欢
  • 1970-01-01
  • 2011-01-26
  • 2014-03-09
  • 2012-01-16
  • 2013-03-30
  • 2010-11-30
  • 2021-10-02
  • 2017-08-06
  • 2013-11-22
相关资源
最近更新 更多