How Git Works: Explained in 4 Minutes

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2023
  • Get a Free System Design PDF with 158 pages by subscribing to our weekly newsletter: bytebytego.ck.page/subscribe
    Git MERGE vs REBASE: Everything You Need to Know
    : • Git MERGE vs REBASE: E...
    Animation tools: Adobe Illustrator and After Effects.
    Checkout our bestselling System Design Interview books:
    Volume 1: amzn.to/3Ou7gkd
    Volume 2: amzn.to/3HqGozy
    The digital version of System Design Interview books: bit.ly/3mlDSk9
    ABOUT US:
    Covering topics and trends in large-scale system design, from the authors of the best-selling System Design Interview series.

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

  • @kartikpodugu
    @kartikpodugu 6 месяцев назад +43

    merge and rebase always scare me.
    but after so many years of using git and version control systems, i can say that, understanding the 4 places where code stays is a very important point to understand and clearly remember which command to use when. very good video

  • @pavankumard5276
    @pavankumard5276 6 месяцев назад +11

    Best video to understand the CONCEPT of how git works and not just the commands

  • @sin78000000
    @sin78000000 6 месяцев назад +13

    One of the best videos I have ever seen which explained git working in such an efficient and concise way.

  • @user-yq8qw9yg6e
    @user-yq8qw9yg6e 6 месяцев назад +77

    hours of udemy courses wasted when a simple video of 4 min explained me the concepts 100 times better...

    • @theoceandragongaming
      @theoceandragongaming 6 месяцев назад +16

      Not at all. You pick that up quickly because you did a udemy course and already had your concepts cleared. This video helps you to brush up your skill and confirms your understanding. If you are professionally working then better you follow udemy or some professional courses. It can be his courses as well, but definately not a 5 mnt video.

    • @ildar5184
      @ildar5184 5 месяцев назад +1

      @@theoceandragongamingExactly. I feel like these 5 min videos are intended for professionals to refresh basic concepts in their memory, as a cheatsheet. A novice who didn't use git before will fell completely lost after this video.

    • @stefano_schmidt
      @stefano_schmidt 5 месяцев назад +4

      There is always a guy who writes such a pointless thing under any short-explained videos. Always...

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

      Udemy is a piece of sh xxx t. Wasted a ton of money on foreigners who can't speak English and only for the videos to be old and blurry later on
      It's a scam.

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

    Best git explanation I've seen or heard anywhere, and by a long way. This is all that is needed by anyone coming from SVN or CVS or some other classic network based version control system to git

  • @Jarcik01
    @Jarcik01 20 дней назад

    Thank you very much! Finally I get the difference between working directory and local repository. Thank you!!! Have a great day!

  • @AK-vx4dy
    @AK-vx4dy 6 месяцев назад +19

    You concentrated so much knowledge, explained it shortly and clearly... for free... enternal respect and glory !

  • @guiller2371
    @guiller2371 6 месяцев назад +2

    This is the best git explanation I've seen.

  • @silviapietropoli8751
    @silviapietropoli8751 6 месяцев назад +2

    Simple and clear, thanks!

  • @deepaksingh9318
    @deepaksingh9318 6 месяцев назад +3

    Exactly what I had been look for 😁..a visualization of concepts is what i had been searching so far..

  • @jingwang2111
    @jingwang2111 3 месяца назад +1

    Been using Git for more than a year and this video still brings much clarificaiton...

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

    Excellent explanation ! Thank you!!

  • @VictoriaJitoboh
    @VictoriaJitoboh 18 дней назад

    Thank you for making git very simple to understand

  • @kevinignas
    @kevinignas 6 месяцев назад +4

    Hello sir, there's a typo on your video thumbnail saying "reomte". As usual, I love your video so much, very clear and on point. Still wonder how you could manage to explain things very clearly

  • @joeylantis22
    @joeylantis22 Месяц назад

    Love this, just wanted a concept of how git *works* and how to use it on the command line.

  • @hynesie11
    @hynesie11 Месяц назад

    Brilliant. Thank you.

  • @abhinandanraj5660
    @abhinandanraj5660 6 месяцев назад

    Thank you so much!!

  • @user-ex2yt1pl6u
    @user-ex2yt1pl6u 6 месяцев назад +5

    The concept behind Git is easy to digest. The bullshit starts when you mess up your setup; now you are stuck, sitting at your desktop, head full of confusion, waiting on a more experienced developer to come and save you. Lol.

  • @DK-ox7ze
    @DK-ox7ze 6 месяцев назад

    At 3:40, under first diagram (Git Merge) if the head is at F, and you do git log then will it show commits C, B, A or commits E, D?

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

    Good video

  • @kalvakolusubhash4010
    @kalvakolusubhash4010 6 месяцев назад +5

    Please explain the git stash concept also visually to avoid the conflicts

    • @larryd9577
      @larryd9577 6 месяцев назад +1

      Git stash creates snapshots, very similiar to commits. When the base for the snapshot changes opposing to the changes in the stash a conflict is unavoidable. Learn to resolve merge conflicts, then you can resolve the conflicts when applying stashes.

  • @itsJDarts
    @itsJDarts 3 месяца назад

    subscribed

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

    Nice info... #HariKrishnaSahu

  • @heliocampos1741
    @heliocampos1741 6 месяцев назад +1

    Reomte -> remote

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

    Can anyone tell me what terminal is he using? The one that shows the Git current branch and stauts?

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

    How do you animate your videos?

  • @heliocampos1741
    @heliocampos1741 6 месяцев назад +1

    Reomote -> remote

  • @Lammot
    @Lammot 6 месяцев назад +6

    So, which hood did you look under?

    • @arunpandian7
      @arunpandian7 6 месяцев назад +4

      Haha, same. I had high expectations from him.

    • @gradientO
      @gradientO 6 месяцев назад +2

      ​@@arunpandian7you shouldn't be surprised. His previous videos are overviews too

    • @ByteByteGo
      @ByteByteGo  6 месяцев назад +14

      Fair point. Update the title to "How Git Works: Explained in 4 Minutes"

    • @gus473
      @gus473 6 месяцев назад +2

      ​@@ByteByteGoIt's a tough audience today! 😅 Thanks for these videos! And it's good to see that the answer to "the animation question" is now right at the top of the description! Best wishes! 😎✌️

    • @Steelrat1994
      @Steelrat1994 6 месяцев назад

      @@gus473 well, when Sahn promises to look under the hood, people expect a look under the hood, not a 4 minute introduction level video. Especially so when it's a video about a tool that the majority of his audience have been using for years(like Git or RDBMS).

  • @Anonymous-zi5wr
    @Anonymous-zi5wr 4 месяца назад

    What software do you use to demonstrate these items?

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

      Oh boy that's a long learning curve. You need to develop ability to think like a graphics designer. After that I think they used Adobe After Effects.

  • @srinivaskasiriveni2890
    @srinivaskasiriveni2890 6 месяцев назад

  • @TheBacker007
    @TheBacker007 Месяц назад

    👍

  • @Anonymous-zi5wr
    @Anonymous-zi5wr 4 месяца назад

    [02:44]

  • @EverydayRoadster
    @EverydayRoadster 6 месяцев назад +4

    Most confusion with git comes from the non-visible difference between the local repository and the working directory. This video is no different. At 2:35 it describes git pull from remote repository to local repository, but the arrow points into the working directory.

    • @r5sec5cyl
      @r5sec5cyl 6 месяцев назад +2

      He immediately explains that at 2:45 accurately and sufficiently.

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

    I like the flow and the pace but the occasional misalignments between the spoken words and the visuals can be distracting and jarring at times and hinders learning. Take, for example, the mention of switching between branches using git switch, yet the visuals are showing git merge.

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

      Rn I’m at the same timestamp 2:55 in the video n realised the strange issue.

  • @oopss794
    @oopss794 6 месяцев назад

    under the hood ?

  • @andyhall7032
    @andyhall7032 6 месяцев назад

    git blame...thank me later.

  • @jalalle1995
    @jalalle1995 6 месяцев назад

    nothing hood about that, that's just the git api

  • @sahil478
    @sahil478 24 дня назад

    Very very confusing

    • @derfiemcgoo9673
      @derfiemcgoo9673 17 дней назад

      I dont think this is meant to completely enlighten people that are brand new to git, but if youve been taking some pther course that is strictly verbal or written, the visuals help you connect the dots

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

    You couldn’t really explain how git works in 4 minutes.