Git Subtrees
Git subtrees Simple use of a library Let us create a Git repository.
~/tmp $ mkdir mainrepo ~/tmp $ cd mainrepo ~/tmp/mainrepo $ git init Initialized empty Git repository in /home/rat/tmp/mainrepo/.git/ Add some files and commits.
~/tmp/mainrepo $ touch feature1 ~/tmp/mainrepo $ git add *; git commit -m "Add feature1" ~/tmp/mainrepo (master) $ touch feature2 ~/tmp/mainrepo (master) $ git add *; git commit -m "Add feature2" The log shows