Git Explained in 100 Seconds

Поделиться
HTML-код
  • Опубликовано: 23 авг 2024
  • Learn the basics of Git in 100 seconds.
    0:09 Initialize a git repo
    0:33 Stage files
    0:39 Commit a snapshot
    1:12 Branch off into an alternate universe
    1:30 Merge a branch into master
    Follow me on Github github.com/cod...
    Git Docs: git-scm.com/
    #git #100SecondsOfCode
    Install the quiz app 🤓
    iOS itunes.apple.c...
    Android play.google.co...
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    My VS Code Theme
    - Atom One Dark
    - vscode-icons
    - Fira Code Font

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

  • @Fireship
    @Fireship  4 года назад +522

    Sorry for making this one soo long, here are the timestamps if you want to jump ahead!
    0:09 Initialize a git repo
    0:33 Stage files
    0:39 Commit a snapshot
    1:12 Branch off into an alternate universe
    1:30 Merge a branch into master

    • @marino1805
      @marino1805 4 года назад +12

      I think its fine if its under 3min or max 5min, but i know you want to make this as short as possible (100sec)

    • @EvilTim1911
      @EvilTim1911 4 года назад +85

      I came here hoping for a quick tutorial and got intimidated by the ridiculous 2 minute length of the video. Thank you for breaking it down into bite-sized chunks for us.

    • @jointtask4047
      @jointtask4047 4 года назад +4

      Docker Please

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

      😂

    • @Vipaldi
      @Vipaldi 4 года назад +8

      Please make the videos longer. They fell a little bit rushed. I think 5 minutes would be nicer and you could go more into the details of the topics not just the basics.

  • @tobidaada
    @tobidaada 4 года назад +303

    Git: * Merge conflict in 223 files *
    Me: We're going to be here for sometime

    • @nobytes2
      @nobytes2 4 года назад +33

      Be bold just force merge and hope for the best lmao

    • @winstonmisha
      @winstonmisha 2 года назад +6

      Accept all your own changes, commit, done. Problem solved.

  • @rahulkumarlal
    @rahulkumarlal 4 года назад +645

    Docker in 100 seconds. Please!!

  • @MidnightBloomDev
    @MidnightBloomDev 4 года назад +107

    Me single dev: has merge conflicts

  • @AnimateLogo
    @AnimateLogo 4 года назад +262

    Git Merge Conflict in 100 seconds, next?

  • @hasanali6798
    @hasanali6798 4 года назад +253

    Playback speed at 2x git explained in 50 sec

    • @Fireship
      @Fireship  4 года назад +54

      🔥 PRO Tip 🔥!

    • @hasanali6798
      @hasanali6798 4 года назад +4

      @@Fireship yeah btw thanks for the reply I'm a big fan of yours ♥️

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

      Actually tried that and Jeff's voice was surprising intelligible at twice the speed! A little robot-like but definitely understandable and something different! but I much prefer the natural sound at the normal speed! Jeff has an awesomely clear speaking voice which only adds to his already awesome content. :)

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

      @@benjaminjameswaller yup

  • @colourhairskullyrics
    @colourhairskullyrics 4 года назад +76

    This is quality content. Thanks for the efforts you've been taking over the course of time, one of my all time favorites.

  • @DrachenYT
    @DrachenYT 4 года назад +16

    My software engineering course took two lecture periods to explain the contents of this video (with a few extra bits here and there). Amazing how compactly you can convey so much information if you know what you're doing.

  • @frog706
    @frog706 4 года назад +32

    These videos are really good because they're quick and straight to the point. Bitsized information that adds up to an amount of knowledge that is quite useful.

  • @J0hn.R
    @J0hn.R 4 года назад +15

    Brilliant! This should be in EVERY single dev course in the planet.

  • @sivaprakash9285
    @sivaprakash9285 4 года назад +12

    I'm your latest follower/I started following this page yesterday and realized I've struck a gold mine....I already watched some of your videos...100s videos are unbeatable in quality!!! loving it man..Love from India

    • @Fireship
      @Fireship  4 года назад +3

      Welcome to the channel Siva 👋

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

    Can't wait to see "git resolve conflict in 100 seconds, hehehe :-p !"

    • @Fireship
      @Fireship  4 года назад +8

      That's next on the list for git!

  • @aissa.bouguern
    @aissa.bouguern 4 года назад +19

    Next Episode: Docker Explained in 100 seconds.

  • @samueldantas6817
    @samueldantas6817 4 года назад +8

    Buhh That's easy! I dare you to explain love in 100 seconds

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

      You mean the love2D framework, right?

  • @shubhamsehgal2336
    @shubhamsehgal2336 4 года назад +13

    Liked before seeing the video. Glad I did.👍♥️

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

    I looked at tens of videos, but they all try to look too advanced ending up with bad explanation. this one is the best, please create a massive library of such videos.

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

    haven't programmed in a while, very quick and helpful

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

    I love these short videos 😉

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

    I totally want 100 minutes video from you - your explanation are so great!

  • @Omerko
    @Omerko 4 года назад +3

    Wow! Pure magic. Simple and fast explanation, good job!

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

    Request episode: solving merge conflict in 100 seconds

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

    The most interactive educational channel you could possibly find
    Subscribed!

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

    I like this background soundtrack and image, just came back to hear it. Keep making these more, please. Thank you!

  • @ayalabaleeiro8398
    @ayalabaleeiro8398 9 месяцев назад

    Man thanks for answering it, people need to stop overcomplicating simple stuff.

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

    Wow! Great series. I believe these videos aren't as easy as it seems. I highly appreciate your efforts. Thanks again. 😊

  • @otheraw5659
    @otheraw5659 4 года назад +19

    Video begin: Hemm something usual.
    Video almost end: "created by Linus Torvalds in 2005"
    WAIT? is it? woooww?

    • @MKVD
      @MKVD 4 года назад +4

      Yeah, Torvalds created git because the ways of tracking the development of the Linux kernel we're bad in his opinion :D

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

      He created it in just a week too

    • @knowledgenews5343
      @knowledgenews5343 4 года назад +4

      @@invinciblemode WTF?
      Looks like it took much more effort to create git than my final year project, which I struggle completing it within a year.

    • @ShivamJha00
      @ShivamJha00 4 года назад +3

      @@invinciblemode That is certainly not true. You can't say an X software was created in X amount of time. It evolves over the years.

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

    nice sequel

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

    Omg dude you are on fire, i literally saw someone coment this yesterday and you already delivered

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

      Thanks! Yeah, I try to prioritize good suggestions

  • @64MbUsbStick
    @64MbUsbStick 4 года назад +1

    I just discovered your channel and I already fell in love with it

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

      Thanks! Welcome to the channel 🍰

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

    This is such a well made video! It's short but really explains the basics. Keep it up

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

    Machine Learning in 100 seconds should be next!

  • @rafaelfigfigueiredo2988
    @rafaelfigfigueiredo2988 4 года назад +5

    Oh god, thank you. You're been my recent favorite discovery
    Could you make django/flask in 100s too? I would opt for flask since it has a simpler syntax, but it's your call

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

      I'm good with Python, but this channel is mostly JS. Might try to fit some in in the future.

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

      Any content from you is good, man, thanks for the consideration

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

    Man this channel is legendary for breaking down overwhelming concepts, though Git might not be the best example; it can be confusing.

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

    this is the best video on git ngl

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

    The most worth it 100 seconds of my life

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

    Man, I love how you explain and the quality of the videos... even if they're 100 sec long

  • @keifer7813
    @keifer7813 2 года назад +6

    I shouldn't have watched this not knowing anything about git

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

    Prediction: this will be one of your most popular videos. Congrats!

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

      Thanks, but IDK... RUclips does not love short videos

  • @ljk-tube
    @ljk-tube 9 месяцев назад

    0:59 this illustrates the software development very well....

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

    I just learned git, I'm adding it to my resume. Thanks

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

    AHH dude this video is great lol very comprehensive for 2 minutes, nearing the end, I was literally like "dur what about merge conflicts?" before you answered it, looking forward to that next one sir

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

    W0w!!1 next Computer science in 100 secs!!!

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

    Git (and similar versioning software) is extremely popular, and it's good at what it does, but in this day and age when storage space isn't a concern, it's often not strictly necessary. If you name your files with version information, you can keep all versions around just fine, without any need for an advanced tool. It can just a bit inconvenient to find what you're looking for due to a lot more files. On the plus side, if it's code you're writing, your includes/imports will clearly show what version the code relies on, and it won't break because there's a newer version around.

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

      That gets mindbogglingly complicated for larger projects, wich is the reason git was created.
      So no that doesn't replace git at the slightest.

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

    VHS logo attracted me and then watching your videos I became pretty sure you will cross millions subscribers sooner than you think

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

    This was amazing! Thank you!

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

    Man i learnt git yesterday only and started using it
    im loving it :)

  • @an_R_key
    @an_R_key 9 месяцев назад

    wtf couldn't anyone else just explain it like this? thank you!

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

    I use git everyday as a dev. Still watched and enjoyed this. Your videos are pretty great. Also the Delorean.... just that.

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

    Fireship, stop being so amazing, please! I can only get so... smart at a time!
    ...
    No, stay shiny as you always do.

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

    Great video! Short and straight to the point!

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

    VS Code is becoming the De Facto Code Editor.. congratulations Satya

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

    i love everything about this channel

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

    Nice brief refresher, thanks!

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

    Pretty nice for a short video

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

    you earned a subscriber. And I am really thankful to you for creating this amazing video. WELL DONE.
    your new fan

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

    You can also create a branch and then switch to it using one command:
    git checkout -b feature-x

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

    im so terrible at using git. thanks for this simple and straightforward reminder and explanation of some simple git tools we should all be using.

  • @fozerion_ua
    @fozerion_ua 14 дней назад

    git sounds like magic

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

    Thanks for making this video simple and short for understanding git

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

    0:07 *ASSUMING* Git is already installed in the computer & is available as a command in the command terminal.
    If not installed get Git here: git-scm.com/downloads

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

    Yes sir! Absolutely love these series :)

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

    I find it better than crash course

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

    something was wrong with me. I saw your video and corrected it, good luck to you

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

    Really love your work man!

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

    did you make a sequel about merge conflicts yet?!

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

    How do you create such high quality videos so often?? Very cool!!

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

    lovely

  • @jomy10-games
    @jomy10-games 3 года назад

    It all makes sense now.

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

    Programmers : No one can explain git so quickly
    Fireship: Hold my stopwatch

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

    Shoutout to Linus for making this amazing technology for us to use

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

    Linus was the real MVP

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

    Loki should really watch this video

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

    Jeff please also explain the features like Rebase, Patch changes, Revert Last commit, Squash commits.. also maybe a GUI interface that is usefull (i really like Intellij Idea's GIT support), but really wish to know the command line code's for GIT and also on VSCode just like in this video for the features I mentioned ! 😊😊

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

    Great overview!

  • @SayJee
    @SayJee 4 года назад +6

    Very impressive but can you explain Github in 100 seconds?

    • @Fireship
      @Fireship  4 года назад +4

      Yes, in fact I have two more git videos lined up - "Merge Conflicts" and "How to submit a PR on Github"

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

    Great format! love it

  • @bangarangJones
    @bangarangJones 7 месяцев назад

    THANK YOU

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

    You are a living legend bro

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

    another video regarding merging plssssss.

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

    Like shotgun info shot!!! Awesome!!!

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

    Linus single-handedly changed the internet and no one can tell me differently

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

    Read git vs fossil. Git is for huge projects with huge teams. It's complicated and easy to damage. That's a good enough reason to use rcs, CVS, or fossil.

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

    Thank you so much for your work

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

    git checkout -b is a good shortcut

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

    please explaine more about git

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

    Excellent explanation man. 👍

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

    Pro tip: real hackers keep spaming "git log" and "git status" because the output looks cool.

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

    Amazing, this channel is awesome!

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

    you should consider to create complete courses.

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

    Ah I git it now

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

    Jeff, can you create an in-depth video or tutorial about git?

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

    Merge vs Rebase will be a fun video. #proposition

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

    What happened to Merge Conflict in 100 seconds 🔥?

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

    Modern TS development environment in 100 seconds. :D
    Firewall in 100 seconds
    DNS in 100 seconds
    iPXE in 100 seconds
    Libvirt in 100 seconds
    ... this could have more videos that Santa Barbara. :)
    But if seriously... i think you should keep close to CS fundamentals.
    One more really interesting topic for me is the CS history. Recently watched video about text editors. So educative. Now its much more easy to understand/learn tools like Vim/Emacs.. etc... and .. how they actually play nice with all those text file based configurations.
    Definitely its not a 100 second shorty... but its really interesting topic. Everybody is rushing into next bling bling framework but they forgot about the roots and reasoning about differrend descisions made.

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

    amazing , liked and subbed

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

    Please do "ionic in 100 seconds"
    - things to make ionic development easy
    - what technologies to choose with it (DB, cloud, server)

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

    I wish I could make videos like this

  • @quenafaine7228
    @quenafaine7228 7 месяцев назад

    No, I'm sorry for how SLOOOOOOW I just played your video! 😂😅
    I'm learning though! Great vid for the newbie

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

    Great explanation of git 😊

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

    These videos are freaking amazing. Very well made and very addictive!