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?
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.
Thanks a lot for this video, but there are some mistakes, i tested the commands and i noticed that git remote add doesn't have "--squash" option. Thanks
Thanks for checking it out. You're right that in the text there is an extra --squash on the git remote line. Looks like I did a copy/paste and overlooked removing that. However the commands all typed into the command line in the demo are accurate for the version of git I was working with I believe.
Hi! I think you might want to look at git submodules (which seemed a little less intuitive to me personally). I don't actually know the answer but stackoverflow seems to? Hope that and the link below help! stackoverflow.com/questions/11834386/cloning-only-a-subdirectory-with-git
The way shown in this video may not be what you want. If you do not want the subtrees logs polluting your main project's log then you might try using: git subtree add --squash --prefix=myShared remoteRepoWithSharedCode.git master See community.atlassian.com/t5/Questions/How-can-one-eliminate-subtree-commit-history-due-to-a-remote/qaq-p/76357 for more information on the difference.
Very well explained - still helpful in 2024. Thanks!
You probably just saved me some serious time. Thank you.
Thank you so much. Still usefull in 2022
Thank you for making a video like. Makes it super easy to understand. Huzzah
Glad you liked it!
Thank you very much for this gem!
Thanks! Very informative
Awesome thanks, just what i needed. Well explained
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?
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.
Cool video. Dos sourcetree not really support subtree? I have tried, but it does not seem to work properly.
Thanks a lot
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
Thanks a lot for this video, but there are some mistakes, i tested the commands and i noticed that git remote add doesn't have "--squash" option. Thanks
Thanks for checking it out. You're right that in the text there is an extra --squash on the git remote line. Looks like I did a copy/paste and overlooked removing that. However the commands all typed into the command line in the demo are accurate for the version of git I was working with I believe.
What about if you only want to add a directory of your child repository ?
Hi! I think you might want to look at git submodules (which seemed a little less intuitive to me personally). I don't actually know the answer but stackoverflow seems to? Hope that and the link below help!
stackoverflow.com/questions/11834386/cloning-only-a-subdirectory-with-git
git clone
The way shown in this video may not be what you want. If you do not want the subtrees logs polluting your main project's log then you might try using: git subtree add --squash --prefix=myShared remoteRepoWithSharedCode.git master See community.atlassian.com/t5/Questions/How-can-one-eliminate-subtree-commit-history-due-to-a-remote/qaq-p/76357 for more information on the difference.
not useful in real work