Why everyone hates git submodules
Philomatics
0:00 / 0:00
Why everyone hates git submodules
80 451 просмотр · 1 год назад
Philomatics
68,6 тыс. подписчиков
80 451 просмотр · 1 год назад
Git submodules are powerful, but tricky to use.
Book a workshop with me here:
https://philomatics.com/git-workshop/
Or grab my free git cheatsheet:
https://philomatics.com/git-cheatsheet/
Run these commands to add the recommended settings to your global gitconfig:
git config --global push.recurseSubmodules on-demand
git config --global submodule.recurse true
My most useful video yet (interactive rebase)
• git interactive rebase - Undo, Edit & Squa...
My first video on git rebase (without --interactive)
• git rebase - Why, When & How to fix conflicts
My Top 10 git shortcuts:
• My most used git aliases
Fixing merge conflicts:
• Never fear merge conflicts again - git mer...
Video on `git pull --rebase`:
• Never* use git pull
How to change your default editor in git:
• My most used git aliases
Thank You to Micheline Welte for her wonderful help with this video!
Contents:
0:00 - Why git submodules?
0:20 - Cloning submodules
0:48 - git submodule update
1:47 - Making changes to the submodule
4:18 - Switching branches
5:25 - Recommended settings
5:43 - Adding submodules
6:13 - Removing submodules
6:27 - Main takeaway
6:58 - Alternatives to submodules
LEGAL DISCLAIMER
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Everything here is for informational purposes only. All non-licensed clips used for fair use commentary, criticism, and educational purposes. See Hosseinzadeh v. Klein, 276 F.Supp.3d 34 (S.D.N.Y. 2017); Equals Three, LLC v. Jukin Media, Inc., 139 F. Supp. 3d 1094 (C.D. Cal. 2015).eo