No video

what are git submodules? (intermediate) anthony explains

  Рет қаралды 6,092

anthonywritescode

anthonywritescode

Күн бұрын

Пікірлер: 12
@ndepal
@ndepal 3 жыл бұрын
In regards to the ambiguity of "git status" saying "new commits" when in fact you went back in time: If you do "git status --submodule" it will show you which commits are removed/added in the submodule (along with the regular output of "git diff").
@anthonywritescode
@anthonywritescode 3 жыл бұрын
nice tip!
@almasabdrazak5089
@almasabdrazak5089 3 жыл бұрын
always like your explanations. One more use case. We are using protobuffs as a serialization protocol and for it to work you have to have a proto buff files in a repo, so we made one repo and share it between frontend and backend so our proto buffs are always in sync between services
@anthonywritescode
@anthonywritescode 3 жыл бұрын
makes sense! this fits into the "There isn't a package manager for this" use-case -- at a previous company we jammed protos into a pypi package to distribute it!
@samibadawi1315
@samibadawi1315 6 ай бұрын
A long overdue thanks!!!
@a_maxed_out_handle_of_30_chars
@a_maxed_out_handle_of_30_chars 3 ай бұрын
your videos are too good, can you please create git specific playlist?
@rickylim4910
@rickylim4910 3 жыл бұрын
I totally agree with the pain of git submodules. Regardless of its pain, thank you for the explanation :)
@oliversheridan-methven8906
@oliversheridan-methven8906 Ай бұрын
Something comparing submodules with subtrees would be nice.
@kenpinzky4798
@kenpinzky4798 3 жыл бұрын
Git ! For the totally insane
@anthonywritescode
@anthonywritescode 3 жыл бұрын
true true, submodules are wack
@chandanagrawal2399
@chandanagrawal2399 Жыл бұрын
If you make a change in one of the files of 'astpretty' while being inside 'empty' repo, would be be able to push that change to 'remote astpretty'?
@anthonywritescode
@anthonywritescode Жыл бұрын
you generally shouldn't, but yeah you can make changes inside a submodule
git is just a key value store? (advanced) anthony explains #497
15:45
anthonywritescode
Рет қаралды 6 М.
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 13 МЛН
Logo Matching Challenge with Alfredo Larin Family! 👍
00:36
BigSchool
Рет қаралды 21 МЛН
all about xargs ! (beginner - intermediate) anthony explains #200
17:16
anthonywritescode
Рет қаралды 9 М.
An Improved Workflow for Submodules - Git Merge 2022
29:39
GIT Submodules - Git Series 7
15:47
Tools on Tech
Рет қаралды 11 М.
Git submodules - Why and How to use them
28:10
Dillion Megida
Рет қаралды 4,4 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,1 МЛН
032 Introduction to Git Subtrees
20:43
Dan Gitschooldude
Рет қаралды 39 М.
my python project setup (+ all tools) (intermediate) anthony explains #396
31:38
Git Submodules Tutorial | For Beginners
14:52
Redhwan Nacef
Рет қаралды 148 М.