Differences between git submodule and subtree

Nathan H picture Nathan H · Aug 2, 2015 · Viewed 85.9k times · Source

What are the conceptual differences between using git submodule and subtree?

What are the typical scenarios for each?

Answer

Feng picture Feng · Feb 22, 2016

submodule is link;

subtree is copy