Git Internals - Git Objects

Поделиться
HTML-код
  • Опубликовано: 18 янв 2025

Комментарии • 156

  • @muhammadnajibbala4059
    @muhammadnajibbala4059 2 года назад +8

    Best explanation I have ever seen on this topic

  • @realB12
    @realB12 3 года назад +13

    Incredible great stuff: I often have struggled to explain Git to my peers. Have tried so many different ways. Your way is the best. Thanks a lot for this!

    • @BriefVid
      @BriefVid  3 года назад

      Thank you very much for your kind feedback!

  • @hyukshin2387
    @hyukshin2387 4 месяца назад +3

    This is so good. . . Just stumbled upon your channel and was amazed how easy you explain with the visuals. Helped so much.

    • @BriefVid
      @BriefVid  4 месяца назад

      Thank you so much for your kind reply!

  • @tejaa2532
    @tejaa2532 3 года назад +6

    Outstanding explanation of the internals. A lot of info condensed into just 5 minutes. Awesome bro. 👌 hats off 👏

    • @BriefVid
      @BriefVid  3 года назад +1

      Thank you so much for this kind feedback! 🙏🏻

  • @Hossein13M
    @Hossein13M Год назад +2

    I can not belive how simple and awesome you explained these concepts! Thanks a lot

    • @BriefVid
      @BriefVid  Год назад +1

      Thank you for your kind reply 🙏🏻
      Please help me share these videos with more people :)

  • @always_learning_new_stuff
    @always_learning_new_stuff Год назад +1

    Wow, wow, WOW! I've never seen such a difficult concept explained so well. Thank you.

    • @BriefVid
      @BriefVid  Год назад

      Thank you so much, your comment made my day 🙏🏻

  • @lucasassuncaodeabreu3718
    @lucasassuncaodeabreu3718 4 года назад +2

    This is Amazing!!
    I was lost searching for "internal git tutorials" on web, and your videos are covering everything i was looking for!
    Keep going!

    • @BriefVid
      @BriefVid  4 года назад +1

      Thanks so much for your kind reply Lucas! I will do my best to post more :)

    • @BriefVid
      @BriefVid  4 года назад

      @Luncas, I have posted the next video in the series here - ruclips.net/video/52MFjdGH20o/видео.html
      I hope you will find it useful

  • @BeALeaderAndAnInspir
    @BeALeaderAndAnInspir 4 года назад +28

    Amazing content mate. Please upload more tutorials like this. You have a talent for explaining things...

    • @BriefVid
      @BriefVid  4 года назад +2

      Thank you very much Tien!
      I have posted the next video in the series here - ruclips.net/video/52MFjdGH20o/видео.html
      I hope you will find it useful

    • @BarraIhsan
      @BarraIhsan 3 года назад

      Yes, I agree!

  • @anonymousXYZ659
    @anonymousXYZ659 2 года назад +2

    This is such a good explainer, I wish this was more popular!

    • @BriefVid
      @BriefVid  Год назад +1

      Thank you for your kind reply 🙏🏻
      Please help me share the word and make it more popular :)

  • @arastooajorian9069
    @arastooajorian9069 Год назад +3

    it was really well described and animated. that was perfect. thank you for your job.

    • @BriefVid
      @BriefVid  Год назад

      Thank you so much for your kind words!

  • @naren2talk
    @naren2talk Год назад +1

    this is easily the best possible explnation out there,,,

  • @brettgattinger3338
    @brettgattinger3338 3 года назад +1

    Awesome Tutorial! Really succinctly summarizes the inner workings of Git. This is really useful since I have to automate a bunch of git stuff with GitPython and while their tutorials is great they don't really explain any of this stuff. So thank you!

    • @BriefVid
      @BriefVid  3 года назад +1

      Thanks Brett! Your comment made me happy :)

  • @shashanksathish9362
    @shashanksathish9362 3 года назад +1

    That is amazing! concise and crisp, would love to see more of these.

    • @BriefVid
      @BriefVid  3 года назад

      Thanks a lot for your kind reply @Shashank! Please help me spread the word by sharing these videos with more people 🙏🏻 I will indeed post more in this series very soon!

  • @hsaidinsan6345
    @hsaidinsan6345 4 года назад +1

    And i am watching the video i wad looking for, for the entire day at 00:00 just before i decided to give up and go sleep
    What to say! thanks man you saved me 👍

    • @BriefVid
      @BriefVid  4 года назад

      Thank you Hamza!

    • @BriefVid
      @BriefVid  4 года назад +1

      I have posted the next video in the series here - ruclips.net/video/52MFjdGH20o/видео.html
      I hope you will find it useful

  • @rasikaraja1840
    @rasikaraja1840 8 месяцев назад +1

    Bro just destroyed my 3 years ignorance. Great explanation.

    • @BriefVid
      @BriefVid  8 месяцев назад

      Thank you :) I am glad it could help!

  • @renatoaraujo6108
    @renatoaraujo6108 2 года назад +1

    Thanks you! I have been searching hard to understand this, and now I got! :)

    • @BriefVid
      @BriefVid  2 года назад +1

      Glad it helped @Renato! Please help me spread the word 🙏🏻

  • @eduardoestevakremer5248
    @eduardoestevakremer5248 2 года назад +1

    Thnaks !! Great content and pretty well presented: neat, concise, and to-the-point...

    • @BriefVid
      @BriefVid  2 года назад

      Glad you enjoyed it And thank you! These comments really make my day and motivate me to create more content :)

  • @kuncorokuncoro1130
    @kuncorokuncoro1130 4 года назад +1

    This is cool explanation! Can't wait to see next video.

    • @BriefVid
      @BriefVid  4 года назад

      Thanks! It will be published soon

  • @evgeniizaitsev7886
    @evgeniizaitsev7886 3 года назад +2

    I agree that it is an amazing video and the way you explain the material is really cool. Please, go on.

    • @BriefVid
      @BriefVid  3 года назад

      Thank you so much for this kind feedback! 🙏🏻

  • @jubjubfriend64
    @jubjubfriend64 3 года назад +3

    You legend, so clear and really well animated!

    • @BriefVid
      @BriefVid  3 года назад

      Thank you very much so the kind words 🙏🏻

  • @ankurtoshniwal11
    @ankurtoshniwal11 3 года назад

    Quick, well animated and conceptually explained

    • @BriefVid
      @BriefVid  3 года назад

      Thank you very much!

  • @emirhajric6314
    @emirhajric6314 3 года назад +1

    Such an underrated channel, awesome content 🙌

    • @BriefVid
      @BriefVid  3 года назад

      Thank you very much! Please spread the word so more people get to enjoy it :)

  • @viniciusgoncalves8208
    @viniciusgoncalves8208 2 года назад +1

    Awesome content Brief! Thank you a lot man, please continue.

    • @BriefVid
      @BriefVid  2 года назад

      Thanks, will do! If there are specific topics you'd like me to cover, please let me know!

  • @teamjupeter9451
    @teamjupeter9451 3 года назад +1

    Wonderful, Thank you, Omer.

  • @yusun5722
    @yusun5722 3 года назад

    Best explanation on Git internals.

    • @BriefVid
      @BriefVid  3 года назад

      Thanks a lot for your kind reply @Yu Sun! Please help me spread the word by sharing these videos with more people 🙏🏻

    • @yusun5722
      @yusun5722 3 года назад

      @@BriefVid Definitely.

  • @BIGSCHOCK
    @BIGSCHOCK Год назад +1

    Just Amzing !!!

    • @BriefVid
      @BriefVid  Год назад

      Thank you 🙏🏻🙏🏻

  • @AleksandrZhuravlev-tu3to
    @AleksandrZhuravlev-tu3to Год назад +1

    Awesome work dude! Thanks a lot!

    • @BriefVid
      @BriefVid  Год назад

      Glad you liked it, and thank you for commenting!

  • @kamilgoabek3146
    @kamilgoabek3146 3 года назад +1

    Just WOW.. best ever git explanation ❤️👍

    • @BriefVid
      @BriefVid  3 года назад

      Thank you so much Kamil! I appreciate it! 😀

  • @thanhtruc4117
    @thanhtruc4117 10 месяцев назад +1

    Best explanation. Thank you so much

    • @BriefVid
      @BriefVid  10 месяцев назад

      You are welcome! Thank you for your kind comment 🙏🏻

  • @whonayem01
    @whonayem01 2 года назад +1

    Excellent! Thank you!

    • @BriefVid
      @BriefVid  2 года назад

      Glad you enjoyed it! Thank you for your nice comment :) Please subscribe to this channel 🙏🏻

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars 8 месяцев назад +2

    simple and to the point, thank you :)

    • @BriefVid
      @BriefVid  8 месяцев назад

      Thank you for the nice comment! I am glad you liked it!

  • @thejordan701
    @thejordan701 4 года назад +1

    Very clear ! Thanks Omer !

    • @BriefVid
      @BriefVid  4 года назад

      Thanks Jordan, I'm glad you liked it!

  • @alialwerfally6497
    @alialwerfally6497 4 года назад +2

    thank you so much that was amazingly clear

    • @BriefVid
      @BriefVid  4 года назад +1

      Thank you for the kind comment!

  • @jmh-j5y
    @jmh-j5y Год назад +1

    omg I immediately understand the git objects thank you!

    • @BriefVid
      @BriefVid  Год назад +1

      Thank you for your kind reply!

  • @it-series-music
    @it-series-music 3 года назад +1

    Awesome explanation and apt animation!

    • @BriefVid
      @BriefVid  3 года назад

      Thank you very much!

  • @shinauri1
    @shinauri1 Год назад +1

    I love this series

    • @BriefVid
      @BriefVid  11 месяцев назад

      Thank you for your kind words!

  • @randomsde4390
    @randomsde4390 2 года назад +1

    Great content!

  • @Maximum_Dev
    @Maximum_Dev 4 года назад +2

    I just subscribed, This is great! Keep up the good work!

    • @BriefVid
      @BriefVid  3 года назад

      Thank you so much Ryan! Will do :)

  • @akumpum
    @akumpum Год назад +1

    Excellent tutorial

    • @BriefVid
      @BriefVid  Год назад

      Thank you! Please share it with more people 🙏🏻

  • @mercerkace2023
    @mercerkace2023 Год назад +1

    Awesome explanation

  • @TheSmilesClub
    @TheSmilesClub 4 года назад +2

    Awesome intro!

    • @BriefVid
      @BriefVid  4 года назад

      Thanks @Ilan Godik! I will post the next videos soon

  • @subhankarhotta7094
    @subhankarhotta7094 3 года назад

    Well explained man! kept it brief and simple. Keep up the good work :)

    • @BriefVid
      @BriefVid  3 года назад +1

      Thanks a lot for this kind feedback Subhankar! I appreciate it 🙏🏻

    • @subhankarhotta7094
      @subhankarhotta7094 3 года назад

      @@BriefVid Why aren't you uploading more content like this?

  • @임재도-c3c
    @임재도-c3c 5 месяцев назад +1

    YOU ARE FREAKIN AWESOME!

    • @BriefVid
      @BriefVid  5 месяцев назад

      Thank you!!

  • @guru_bro
    @guru_bro Год назад +2

    I cannot thank u enough u r a angel?

    • @BriefVid
      @BriefVid  Год назад

      Thank you so much for your kind words :) Not an angel, but I'm happy you found it useful! Let me know if you have any questions

  • @viveksaroj3215
    @viveksaroj3215 3 года назад +1

    thank you very much, you cleared my confusion

    • @BriefVid
      @BriefVid  3 года назад

      Thanks for letting me know Vivek!

  • @srijankumarsamanta5579
    @srijankumarsamanta5579 4 года назад +1

    So the file 1.txt will be saved in new blob ?
    If in a file of say 1000 line of codes.. if I make a single line change will that mean it will create a new blob of all the 1000 lines code ?

    • @BriefVid
      @BriefVid  4 года назад +1

      Hi Srijan,
      Yes - it indeed means that. Git will create an entire new blob in this case.
      There are optimizatoins however - specifically, git's Packfile. You can read about it here: git-scm.com/book/en/v2/Git-Internals-Packfiles
      In addition, I have posted the next video in the series here - ruclips.net/video/52MFjdGH20o/видео.html
      I hope you will find it useful

    • @srijankumarsamanta5579
      @srijankumarsamanta5579 4 года назад

      @@BriefVid thanks

  • @person64389
    @person64389 3 года назад +1

    Love the Les Miserables reference.

    • @BriefVid
      @BriefVid  3 года назад

      Nice catch River! I was wondering when someone would notice it 😉

  • @visserman365
    @visserman365 4 года назад +1

    Super clear, thank you very much

    • @BriefVid
      @BriefVid  4 года назад

      Thank you Jean!

    • @BriefVid
      @BriefVid  4 года назад

      I have posted the next video in the series here - ruclips.net/video/52MFjdGH20o/видео.html
      I hope you will find it useful

  • @mrk19933
    @mrk19933 2 года назад

    Awesome fantastic excellent ... 🤩

    • @BriefVid
      @BriefVid  2 года назад

      Thank you so much 😀

  • @samirergaibi874
    @samirergaibi874 3 года назад

    Awesome video! Made me want to check out more of your content, you got yourself a new subscriber! Keep up the good work👍

    • @BriefVid
      @BriefVid  3 года назад +1

      Thank you Samir! I will do my best to add more content soon :)

  • @danielsears1522
    @danielsears1522 Год назад +1

    Excellent tutorial. But are you correct when you say a commit object contains the hash for "one or more parent commits"? I prefer to think of a commit object as an element in a linked list where each commit object contains a single hash for its parent commit (unless its the initial commit). So to find the grandparent commit you would need to look at the parent commit.

    • @BriefVid
      @BriefVid  Год назад +1

      Hello Daniel and thank you for your comment and question.
      A commit object may contain pointers to more than one commit. It is not the case of a "grandparent" commit as you called it, but for example - a merge commit which has two parents (almost always) as I described in the video about Git merge:
      ruclips.net/video/ZS4stBVdDII/видео.html
      It can also have more than two (direct) parent commits, but it's extremely rare.
      I hope this clarifies things. If not, please feel free to ask 🙏🏻

    • @danielsears1522
      @danielsears1522 Год назад +1

      @@BriefVid Thanks! I have some more studying to do. And people say that git is complicated...

    • @BriefVid
      @BriefVid  Год назад

      @@danielsears1522 No problem, let me know if you have other questions 🙏🏻🙏🏻

  • @williamstubler6660
    @williamstubler6660 2 года назад +1

    Was the hash 24601 intentional? If not then there’s something fitting about French RUclipsr coming up with it :)

    • @BriefVid
      @BriefVid  2 года назад

      Nice catch William :) Indeed it was intentional, I am a Les Miserables fan, though I'm not French 😇

  • @i_m_veer_singh
    @i_m_veer_singh 3 года назад

    Very well explain! Well done! Keep it up!

    • @BriefVid
      @BriefVid  3 года назад

      Thanks a lot Parmveer!

  • @SuperNovaRider
    @SuperNovaRider Год назад +1

    Amazing video, totally under-viewed! 😀

    • @BriefVid
      @BriefVid  Год назад

      Thanks so much! Please help me share it 🙏🏻

  • @Foredres
    @Foredres 3 года назад

    This awesome, really thanks for this video!
    New sub and hello from Bogota!

    • @BriefVid
      @BriefVid  3 года назад

      Thank you Andrés! It's great to have you as a subscriber :)

  • @davisnoah347
    @davisnoah347 2 года назад

    Life saver my man.

  • @existouf9738
    @existouf9738 3 года назад +1

    Amazing

  • @amitdev652
    @amitdev652 2 месяца назад

    Fantastic explanation.👆

    • @BriefVid
      @BriefVid  2 месяца назад

      Thanks! I'm glad you found it useful 🙏🏻

  • @tanchienhao
    @tanchienhao 2 года назад +1

    Awesome!!

  • @Mona001-01g
    @Mona001-01g 3 года назад

    Simply Amazing !!!!!!!

  • @anandtyagi22
    @anandtyagi22 2 года назад

    Superb video

    • @BriefVid
      @BriefVid  2 года назад

      Thank you so much 😀

  • @johnathanjames2872
    @johnathanjames2872 2 года назад

    Nice explanation.

    • @BriefVid
      @BriefVid  2 года назад

      Thank you Johnathan!

  • @hasanmirarabshahi1956
    @hasanmirarabshahi1956 Год назад +1

    Nice video

  • @realB12
    @realB12 3 года назад

    Just curious: What kind of tools have you used to create this vid? Or is it really all by hand? So clear? so smooth?

    • @BriefVid
      @BriefVid  3 года назад

      Thank you Rene. I used VideoScribe, and for some videos I use my Wacom pad as well.

  • @maximmandrik6103
    @maximmandrik6103 3 года назад

    Super!

    • @BriefVid
      @BriefVid  3 года назад +1

      Thank you! Cheers!

  • @habibdeleonbanos8196
    @habibdeleonbanos8196 4 года назад +1

    Awsome!

    • @BriefVid
      @BriefVid  4 года назад

      Thank you!

    • @BriefVid
      @BriefVid  4 года назад

      I have posted the next video in the series here - ruclips.net/video/52MFjdGH20o/видео.html
      I hope you will find it useful

  • @samewen
    @samewen 2 года назад

    Stellar

    • @BriefVid
      @BriefVid  2 года назад

      Thank you! 🙏🏻

  • @larissamartins9441
    @larissamartins9441 3 года назад

    Thanks!!!

    • @BriefVid
      @BriefVid  3 года назад

      Thanks for commenting!

  • @nikitaaniskoff762
    @nikitaaniskoff762 2 года назад

    Cool!

    • @BriefVid
      @BriefVid  2 года назад

      Thank you Nikita! Please share :)

  • @andredias5061
    @andredias5061 2 месяца назад +1

    I love you dude

    • @BriefVid
      @BriefVid  2 месяца назад

      Thank you 😇

  • @x86debug
    @x86debug Год назад

    dawg why is it in light mode 😭

    • @BriefVid
      @BriefVid  Год назад

      Well it's a whiteboard :) the CLI is in dark mode

  • @rogeliovillacorajr-rmvjcha8653
    @rogeliovillacorajr-rmvjcha8653 3 года назад +1

    how about tags? please create a video about tags.

    • @BriefVid
      @BriefVid  3 года назад

      Hi Rogelio, thanks for your question!
      It actually makes sense to refer to tags in a video, but the concept is too short to dedicate a full video for them - as tags are just named reference to a commit, and that reference doesn't (automatically) change with additional commits.
      That is, let's say we have a branch `my_branch` which points to `commit_1`. Now we make another commit `commit_2` which points to `commit_1`, so `git` will automatially update `my_branch` to point to `commit_2`.
      On the other hand, if we use `git tag my_tag` to create a tag pointing to `commit_1`, then it will still point to `commit_1` even if we introduce additional commits.
      I hope that makes sense :)