zoukankan      html  css  js  c++  java
  • git push --recurse-submodules = on-demand 递归push

    I have the following project structure:

    root-project
          |
          |-- A
          |   |
          |   |-- C
          |
          |-- B

    A和B是根项目的子模块。 C又是项目A的子模块。假设我已经对项目A,B和C进行了更改,将这些更改提交给了相应的索引。之后,我更新对root-project中的A和B的引用,并提交更改。当我用选项--recurse-submodules = on-demand推送root项目的更改时,git会推送项目A,B和root项目的所有提交,但默默忽略提交项目C.我期望它也推动项目C的更改。

    git version 2.3.3

    解决方案 : 更新软件
    git push --recurse-submodules = on-demand 

    将会真正用git 2.14.x / 2.15(Q3 2017)递归,但有一些条件。

  • 相关阅读:
    Transformation
    Yet Another Number Sequence
    Table
    K个联通块
    Acyclic Organic Compounds
    Sandy and Nuts
    tetrahedron
    BZOJ4750 密码安全
    实现商品秒杀 时间倒计时
    实现qq登录
  • 原文地址:https://www.cnblogs.com/qiyuexin/p/12899672.html
Copyright © 2011-2022 走看看