Amazing! So many tutorials focus on how to do this stuff with GH or GL, but you actually show the real workings of Git itself! That is so much more useful!
@@cameronmcnz Yeah I was trying to learn how to use submodules locally through sublime merge and this back-to-basics approach with the shell really helped me understand what was going on. Appreciate the tutorial
Thanks a lot for the tutorial. After this tutorial I am thinking to create a separate repository for the full stack projects I do, ie I have a frontend part repo and backend part repo and I'd be referencing them or submoduling them both here. This way they're separate but linked together. Is that a good use case? or that'd just increase the count of my repos?
I think that's a great use-case! But honestly, you sound a lot smarter about these things than me. You've got the high-level vision. I just know how Git works.
@@cameronmcnz thanks sir. You know your stuff deeply and I'm, being a fresher just exploring everything. I'm hoping to master these stuffs as well :) and become a good teacher/developer like you!
Thanks for the kind words! But I'm no expert. I just know about 5 minutes worth of stuff and know how to stretch that out into a 20 minute video. And I learn it all from people like you!@@ceo_google
Thanks! This is actually a combination of 4 or 5 shorter tutorials on submodules I put together. I thought people would prefer the shorter ones but it seems software developers have a longer attention span than I gave them credit for. I'm so glad it could help!
Shhh! If my employer asks, it's a root beer. Honest to God, I didn't realize I was holding a brew in that photo until after I'd used it a few dozen times. But I guess it's part of the brand now.
Thanks so much for the kind words! I try to keep the git tutorials short. This was actually a combination of four shorter tutorials combined to cover what the key aspects of git submodules entails. Trying to keep things short and to the point.
Why you do 'git add .' after 'git submodule add'? All the new files are already added into the next commit and this is clearly shown by the git status command you run before each unnecessary 'git add .'
Using this with git's alias configs to do automatic checkouts and mimick gitslave or the various multi-repo management cli's stackoverflow.com/questions/6474847/how-do-i-git-clone-recursive-and-checkout-master-on-all-submodules-in-a-single
@@letok2871 I'm sorry for the swallowing noises! I'm making lots of changes to how I do the videos, including trying to make them all shorter and more to the point. And fewer lip smacking and swallowing.
0:00 intro
1:25 git submodule add example
6:45 GitHub submodule add example
13:42 git submodule init
16:18 git submodule update
21:42 git submodule delete
24:40 outro
I think I need to hire you. Thanks!
Thank you so much for this video. This would have save my life a few years back if only this video is avalable back then.
Amazing! So many tutorials focus on how to do this stuff with GH or GL, but you actually show the real workings of Git itself! That is so much more useful!
When it comes to boring and basic, I'm your man!!! So glad I could help you with your Git submodules!
@@cameronmcnz Yeah I was trying to learn how to use submodules locally through sublime merge and this back-to-basics approach with the shell really helped me understand what was going on. Appreciate the tutorial
I love the way you start from scratch and then progress on, Thanks for making this video
Thanks for the kind words. Trying to paint a full picture. Git submodules is pretty complicated.
Exactly what I needed!
I could only find add submodule from remote repo but you covered also the local one.
Thanks alot!
Glad I could help. Trying to make these tutorials as simple and straight forward as I can!
Thanks for the consistent exhaustive demo.
nice, I followed all the way through, coded along with you. Now I know a lot more about submodules, and I'm not scared of them anymore lol thanks.
I'm still scared of them, and I did the video!
@@cameronmcnz
Thank you for the great submodule tutorial.
This was very helpful!!!
14:51 Clone repository with submodules
17:33 Clone repository with submodules2
Some points are so important they need to be made twice!
Very very clear and straight explanations ! Thanks a lot !
Awesome instructions. pretty easy to understand.
Thank you very much for your time in making such easily understandable tutorial ! Was very helpful.
Thanks for the kind words!
Thanks Cameron ..for building things up from scratch..really helpful content.
Thanks for the kind words. Trying to keep the video short, but also trying not to leave anything out. It's a tough balance with Git submodules!
Thank, Mr.Cameron , It's exactly that I was search.
Glad I could be of service!
Nice videos, very complete and clear and excellent and everything I needed to know to finally used submodules
Awesome. Great tutorial! You are a talented teacher!
Thanks! For support. 👍
Great tutorial, really helpful. Thank you so much!!
Glad it was helpful!
Really clear, thanks a lot for your explaination!
This was a life saver!! Thank you man!!
So glad I could be of service. Submodules are confusing at start. Then only 'mildly confusing' after you watch the video. :)
Great tutorial on submodules.
Thanks Mom!
Thanks a lot for the tutorial. After this tutorial I am thinking to create a separate repository for the full stack projects I do, ie I have a frontend part repo and backend part repo and I'd be referencing them or submoduling them both here. This way they're separate but linked together. Is that a good use case? or that'd just increase the count of my repos?
I think that's a great use-case! But honestly, you sound a lot smarter about these things than me. You've got the high-level vision. I just know how Git works.
@@cameronmcnz thanks sir. You know your stuff deeply and I'm, being a fresher just exploring everything. I'm hoping to master these stuffs as well :) and become a good teacher/developer like you!
Thanks for the kind words! But I'm no expert. I just know about 5 minutes worth of stuff and know how to stretch that out into a 20 minute video. And I learn it all from people like you!@@ceo_google
Way easier than I thought ngl.
So glad to hear that. Submodules is one of the more difficult Git concepts to master.
Thank you for the great tutorial!
Q: should we do anything with ".gitmodules" on removing a "submodule" ?
Thanks again.
Nice video
Thank you so much
I have one question hope you will help me
How to clone submodules if submodules have added creds ?
Thanks for the kind words!
Super easy and well explained. Thank you.
Nice tutorial. Thanks a lot, man...
Thanks! This is actually a combination of 4 or 5 shorter tutorials on submodules I put together. I thought people would prefer the shorter ones but it seems software developers have a longer attention span than I gave them credit for. I'm so glad it could help!
very clear explanation thanks a lot
Posted from Toronto Zoo, Lol? I was there 2 years ago.. Thanks for the tutorial :)
Waiting for someone to let me out. It's a great zoo!
good tutorial... nicely explained
Thanks so much for the kind words!
Thank for the video!
Thanks a lot ! Saved my day!
Saving people is what I do. I'm like the Jesus of Git Submodules. Thanks for the kind words!
@@cameronmcnz :D
lol you look like a cool guy with the beer man. nice tutorial
Shhh! If my employer asks, it's a root beer. Honest to God, I didn't realize I was holding a brew in that photo until after I'd used it a few dozen times. But I guess it's part of the brand now.
@@cameronmcnz I only saw a root beer
@@kingsleyakpan687 I'm more amused by the Tim Hortons coffee maker in the background. It confirms my Canadian cred.
@@cameronmcnz the whole picture is classic. nice belt buckle too, I would have assumed Texas
Thank you, exactly what I needed to know
Thanks so much for the kind words! I try to keep the git tutorials short. This was actually a combination of four shorter tutorials combined to cover what the key aspects of git submodules entails. Trying to keep things short and to the point.
Why you do 'git add .' after 'git submodule add'? All the new files are already added into the next commit and this is clearly shown by the git status command you run before each unnecessary 'git add .'
Habit
Remove that pic with beer
It's non-alcoholic, gluten-free soda water. Honest.
❤️
Using this with git's alias configs to do automatic checkouts and mimick gitslave or the various multi-repo management cli's stackoverflow.com/questions/6474847/how-do-i-git-clone-recursive-and-checkout-master-on-all-submodules-in-a-single
Does the author's swallowing annoy me alone?
Sorry. Was fighting that COVID infection. :(
@@cameronmcnz Oh, I'm sorry. I wish you a quick recovery. The stuff is cool, helped me get my new project straight.
@@letok2871 I'm sorry for the swallowing noises! I'm making lots of changes to how I do the videos, including trying to make them all shorter and more to the point. And fewer lip smacking and swallowing.