search

Home  >  Q&A  >  body text

git的subtree和submodule区别?

发现两者都是引入其他git仓库,似乎tree是module的改进版本,是module有什么非常不能忍受的缺点么?

高洛峰高洛峰2804 days ago648

reply all(1)I'll reply

  • PHPz

    PHPz2017-04-28 09:06:20

    Personally, I think the biggest advantage is that you don’t have to init and update every time a sub-project is modified like a submodule. If there is no update, just "commit -a" or "add." and it will be a tragedy to commit everything.
    You can also look here for details

    reply
    0
  • Cancelreply