008 Introduction to Git Submodules

  Рет қаралды 71,072

Dan Gitschooldude

Dan Gitschooldude

Күн бұрын

A brief introduction to submodules. Covers the purpose of submodules, adding a submodule to a git project, and pushing commits when submodules are involved. Please forgive some of the video artifacts, the computer hated me that day :P You may also enjoy my video on Git Subtrees, which is an alternative approach to submodules.
032 Introduction to Git Subtrees: • 032 Introduction to Gi...
If you are looking for an effective concise introduction to Git, I highly recommend my "Fundamentals of Git" course on Udemy: www.udemy.com/...
If you or your company is interested in live virtual software and tools training, see www.continuous... for a list of training topics we offer.

Пікірлер: 51
@pavelgak3972
@pavelgak3972 7 жыл бұрын
I suggest to view this vid at least at x1.25 or x1.5.
@CarlosGonzalezNazar
@CarlosGonzalezNazar 7 жыл бұрын
Lol. I tried at 1.5x and it's indeed more watchable.
@JensHeuschkel
@JensHeuschkel 7 жыл бұрын
Thanks for that advice. It was really annoying at x1.0 :D
@al-mothafaral-hasan634
@al-mothafaral-hasan634 6 жыл бұрын
You saved me from falling to sleep ty :D
@leonardomarinovic3492
@leonardomarinovic3492 6 жыл бұрын
I watched it on x0.5 I like to live life on the edge
@DanGitschooldude
@DanGitschooldude 6 жыл бұрын
Good call buddy :)
@bhaaratsharma6023
@bhaaratsharma6023 3 жыл бұрын
This is the most detailed and clear explanation about git submodules. Thank you.
@mudyeet_
@mudyeet_ 3 жыл бұрын
5 years later, still relevant.
@averybai8655
@averybai8655 4 жыл бұрын
Crystal clear. Thanks a million.
@shahrokhabbasirad2223
@shahrokhabbasirad2223 Жыл бұрын
Awesome. You solved my problem. I was stuck with this fatal error when running the submodule update --init. And you showed where I was doing it wrong. Thanks
@EViL3666
@EViL3666 4 жыл бұрын
Not a pro developer (these days) but still dabble in the odd few scripts - this was really helpful, thank you.
@KirillKovalevskiy
@KirillKovalevskiy 7 жыл бұрын
Great video. Thank you for the clarification on a couple confusing points.
@ynny7885
@ynny7885 5 жыл бұрын
Thank you, you explained the git submodules concept very well.
@RoganShimmin
@RoganShimmin 8 жыл бұрын
In your summary at 25:57 you type "git add submodule..." Should that be "git submodule add..." ?
@prakashk78
@prakashk78 8 жыл бұрын
Great video on git submodules, thanks !
@DanGitschooldude
@DanGitschooldude 8 жыл бұрын
+Prakash Kamliya You're very welcome!
@yanivgardi9028
@yanivgardi9028 4 жыл бұрын
Great Video! Very helpful, thank you so much Dan. You are awesome
@muhammadfaateh6463
@muhammadfaateh6463 4 жыл бұрын
thank you for your detailed tutorial
@Metachief_X
@Metachief_X 5 жыл бұрын
thanks man, was really stuck with a project using submodules..thanks!
@Tatulak
@Tatulak 3 жыл бұрын
Thanks! You did help me a lot to understand this mess lol
@ilkercankaya3779
@ilkercankaya3779 3 жыл бұрын
extremely useful video, thank you
@inlinex
@inlinex 8 жыл бұрын
this the video i've been searching
@ANSIcode
@ANSIcode 3 жыл бұрын
The video stream seems to be messed up a bit... the console images don't always update when they should
@BanglawalaNeesarg
@BanglawalaNeesarg 5 жыл бұрын
Such an informative video! Thank you!!
@ruixue6955
@ruixue6955 Ай бұрын
0:43 fake example: use the *trick* simulation framework to do the simulation 1:56 purpose of *submodule* 2:10 why need a submodule (the *trick* project in the example) 2:32 purpose: let you tie the specific *commit* to the development flow of the repo you care about 3:12 *if you want to include a third-party dependency in your repo, a good way is to use git submodule* 3:48 demo 4:31 command: git submodule add 5:54 *.gitmodules* file 8:43 commit the change including added submodule 10:24 change code in *trick* repo 11:00 sub-module has no knowledge of its parent (carsim in the example) 16:30
@ITexpert55
@ITexpert55 4 жыл бұрын
Thanks a lot! By the way, excellent explanation!! Thanks again!!!
@rahulchaurasia1501
@rahulchaurasia1501 5 жыл бұрын
Very nice video. Thanks
@OliverUnderTheMoon
@OliverUnderTheMoon 7 жыл бұрын
Superb explanation.
@niteshrawat576
@niteshrawat576 5 жыл бұрын
Nice video. Thanks for making it. :)
@vagueanxiety42
@vagueanxiety42 5 жыл бұрын
Great video, thank you!
@radioactive012
@radioactive012 5 жыл бұрын
great tutorial, keep going buddy
@viperv26
@viperv26 7 жыл бұрын
Very useful - thanks for the tutorial! P.s. submodules are badass :)
@wenchengju5243
@wenchengju5243 8 жыл бұрын
Thank you very much !
@rajat.sharma16
@rajat.sharma16 7 жыл бұрын
great video. thanks
@anatoliidanylko7736
@anatoliidanylko7736 7 жыл бұрын
Cool! Thanks man!
@kostasbogiatzakis1647
@kostasbogiatzakis1647 7 жыл бұрын
Great, thank you
@AhmadShrif
@AhmadShrif 6 жыл бұрын
Great video, I did not find a video for git subtree , are you planning to make one for git subtree?
@DanGitschooldude
@DanGitschooldude 6 жыл бұрын
I hope so, I know a little bit about git subtrees but I don't feel like I know enough to be confident in making a video on the topic. One day, though. Thanks for watching!
@justinoneill2837
@justinoneill2837 6 жыл бұрын
I'm trying to piece this together with *node_modules* , *bower_components* , and now *git submodules* .., Someone that I know said "why not just create a *Node Module* and npm install? What's your thoughts on this?
@DanGitschooldude
@DanGitschooldude 6 жыл бұрын
I don't have much web software experience so I can't necessarily comment on how node or bower modules should be implemented, but usually you want to keep the concept of software modules separate from git submodules. In general you want submodules to be 3rd-party independently testable code that is intended to be shared across projects. Software components should not be broken into submodules just because they are logically separate things. I ALWAYS suggest leaning towards fewer submodules if possible. In fact if you can get away with no submodules, that should be your first approach.
@justinoneill2837
@justinoneill2837 6 жыл бұрын
thanks for your feedback!
@zhuk462
@zhuk462 4 жыл бұрын
Too many words, too slow.. You should make your terminal's screen smaller in order to allow us to see clearly what you are showing and typing when we pause the video.
@MrFab233
@MrFab233 8 жыл бұрын
Dat voice
@alexgo4641
@alexgo4641 6 жыл бұрын
try this out man: git config credential.helper 'cache --timeout={time_in_seconds}' thanks 4 video
009 More about git submodules
19:47
Dan Gitschooldude
Рет қаралды 13 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,1 МЛН
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 10 МЛН
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 4,8 МЛН
الذرة أنقذت حياتي🌽😱
00:27
Cool Tool SHORTS Arabic
Рет қаралды 14 МЛН
032 Introduction to Git Subtrees
20:43
Dan Gitschooldude
Рет қаралды 39 М.
Rust and RAII Memory Management - Computerphile
24:22
Computerphile
Рет қаралды 224 М.
An Improved Workflow for Submodules - Git Merge 2022
29:39
what are git submodules? (intermediate) anthony explains #273
11:07
anthonywritescode
Рет қаралды 6 М.
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 414 М.
The New Option and Result Types of C#
15:05
Nick Chapsas
Рет қаралды 58 М.
045 Introduction to Git LFS (Large File Storage)
14:41
Dan Gitschooldude
Рет қаралды 54 М.
How GIT works under the HOOD?
16:01
Tech With Nikola
Рет қаралды 194 М.
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 105 М.
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 10 МЛН