git subtree tutorial and demo!

preview_player
Показать описание
How to get going with git subtrees! The video is ~15 minutes, but if you are proficient in git you can watch at 1.5x speed.

I've not seen all of this demonstrated in any other video including
1) adding a subtree
2) pushing and pulling from both sides
3) switching the branch of a subtree in the parent repo

There are some decent articles but several have typos and thus the commands don't actually work.

Рекомендации по теме
Комментарии
Автор

Cool video. Dos sourcetree not really support subtree? I have tried, but it does not seem to work properly.

Mckorkprop
Автор

Thanks for this details explanation of subtree video. I have question about changing to new branch of subtree. Once i delete existing subtree folder from main repo and commit it. Do i need to push that commit to main repo or subtree repo?

PrakashPatelOnly
Автор

Hello @artemissoftwarenet Thanks for this video but i want to ask you that will it be possible to use this subtree feature without using terminal as many developers are ui addicted.

siddharthchopra
Автор

Anyone have this problem? When I push my subtree changes in the parent repo, the history of the parent repo gets added to the subtree's repo

georgeshoemaker
Автор

What about if you only want to add a directory of your child repository ?

acsllinas
welcome to shbcf.ru