How Git Works: Explained in 4 Minutes

Поділитися
Вставка
  • Опубліковано 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.

КОМЕНТАРІ • 59

  • @kartikpodugu
    @kartikpodugu 6 місяців тому +45

    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

  • @sin78000000
    @sin78000000 6 місяців тому +15

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

  • @pavankumard5276
    @pavankumard5276 6 місяців тому +11

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

  • @bigspoonhands
    @bigspoonhands 6 місяців тому +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

  • @user-yq8qw9yg6e
    @user-yq8qw9yg6e 6 місяців тому +83

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

    • @theoceandragongaming
      @theoceandragongaming 6 місяців тому +17

      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 6 місяців тому +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.

  • @Jarcik01
    @Jarcik01 29 днів тому

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

  • @guiller2371
    @guiller2371 6 місяців тому +2

    This is the best git explanation I've seen.

  • @jingwang2111
    @jingwang2111 3 місяці тому +1

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

  • @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..

  • @AK-vx4dy
    @AK-vx4dy 6 місяців тому +19

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

  • @VictoriaJitoboh
    @VictoriaJitoboh 27 днів тому

    Thank you for making git very simple to understand

  • @luciannamendonca8514
    @luciannamendonca8514 2 місяці тому

    Excellent explanation ! Thank you!!

  • @ourship
    @ourship 7 днів тому

    I've been working officially for 3 months now and still don't know a lot of important concepts of Git, thanks to this video I understand a few things.

  • @hynesie11
    @hynesie11 2 місяці тому

    Brilliant. Thank you.

  • @joeylantis22
    @joeylantis22 Місяць тому

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

  • @abhinandanraj5660
    @abhinandanraj5660 6 місяців тому

    Thank you so much!!

  • @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

  • @avialexandru3071
    @avialexandru3071 3 місяці тому

    Good video

  • @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?

  • @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.

  • @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

  • @MomForgotToNameMe
    @MomForgotToNameMe 2 місяці тому

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

  • @heliocampos1741
    @heliocampos1741 6 місяців тому +1

    Reomte -> 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).

  • @srinivaskasiriveni2890
    @srinivaskasiriveni2890 6 місяців тому

  • @shreshthverma5877
    @shreshthverma5877 2 місяці тому

    How do you animate your videos?

  • @TheBacker007
    @TheBacker007 2 місяці тому

    👍

  • @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.

  • @heliocampos1741
    @heliocampos1741 6 місяців тому +1

    Reomote -> remote

  • @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.

  • @Anonymous-zi5wr
    @Anonymous-zi5wr 4 місяці тому

    [02:44]

  • @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 ?

  • @jalalle1995
    @jalalle1995 6 місяців тому

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

  • @andyhall7032
    @andyhall7032 6 місяців тому

    git blame...thank me later.

  • @sahil478
    @sahil478 Місяць тому

    Very very confusing

    • @derfiemcgoo9673
      @derfiemcgoo9673 25 днів тому

      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 6 місяців тому

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