Git It? How to use Git and Github

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • Learn how to use Git and Github 🐙🐱 in this interactive tutorial by sending a pull request to this repo in exchange for a free AngularFirebase sticker 🔥github.com/codediodeio/gimmie...
    - PRO angularfirebase.com/pro
    - Atlassian www.atlassian.com/git/tutorials
  • Věda a technologie

Komentáře • 310

  • @Fireship
    @Fireship  Před 5 lety +313

    FYI this video was a "Premiere" so make sure to check out the live chat replay for the full experience 🍿

    • @davidandrei22
      @davidandrei22 Před 4 lety +9

      Can I still send a pull request for a sticker? 😂 I bet they're awesome.

    • @bullettime2808
      @bullettime2808 Před 3 lety

      Please tell me what's your VS Code color and icon theme

    • @flleaf
      @flleaf Před 3 lety

      @@bullettime2808 he writes it in every descriptions (for newer videos)

    • @kalishaatlas6297
      @kalishaatlas6297 Před rokem +1

      5:13 5:13 5:13 5:13

    • @kalishaatlas6297
      @kalishaatlas6297 Před rokem +1

      GitHub one 5:13

  • @emilgabriel81
    @emilgabriel81 Před rokem +334

    quite impressive how efficient this guy can be at explaining. it is literally everything you need to know in order to start with git and github

    • @Microphunktv-jb3kj
      @Microphunktv-jb3kj Před rokem +4

      anyone can be, whean the script is pre-made.. his literally reading a premade polished text and recording it with a microphone...
      this isn't a live explanation / articulation ; )

    • @pietrofulceri5759
      @pietrofulceri5759 Před rokem +3

      @@Microphunktv-jb3kj i impressive the same

    • @isoaga66
      @isoaga66 Před rokem +14

      @@Microphunktv-jb3kj He is still explaining. Doesn't matter if it's a script. He had to write it in the first place to record the video. That's actually how most of the videos are made

    • @sensor
      @sensor Před rokem +15

      @@Microphunktv-jb3kj Yes, you are right, but you need to recognise that the nice thing about his content is the "polishness" of his vids, visually and cognitivally talking.

    • @w1z4rd9
      @w1z4rd9 Před rokem

      @@Microphunktv-jb3kj No shit sherlock ;;))

  • @KamelJabber1
    @KamelJabber1 Před 5 lety +513

    dude! seriously, this video was pretty great but the user participation with the sticker is pure genius and a great touch! I feel you have really raised the bar of YT tech and educational content and is on the cutting edge of where the platform can go.
    I recently used scribe and was blown away by how simple and useful it was. This reminds of that, GG, keep up the good work!

    • @Fireship
      @Fireship  Před 5 lety +37

      Thank you Kamel, really appreciate the feedback. The sticker idea was a risk, but glad to see the pull requests flowing in 😀

    • @seenu69
      @seenu69 Před rokem +3

      What's scribe?

    • @davesomeone4059
      @davesomeone4059 Před rokem +1

      @@seenu69 I think the ancient Egyptians use them.

    • @Microphunktv-jb3kj
      @Microphunktv-jb3kj Před rokem +1

      git hasnt revolutionized anything.. there were and still is many version control systems out there being used.
      ive encountered a developer who has coded for 43 years and he has never used git

  • @me_lvin7068
    @me_lvin7068 Před 11 měsíci +5

    Four years later, this git guide is still gold! I originally used git stash as an alternative to git reset.😂I know better now and this video just brings back memories during my first few weeks of learning to code. Cheers mate!

  • @JonSmoley
    @JonSmoley Před 5 lety +150

    I love these more general framework-agnostic videos. 🐶

    • @Fireship
      @Fireship  Před 5 lety +18

      Thanks Jon! I want to tackle at least one general topic per month.

    • @curiosdevcookie
      @curiosdevcookie Před 4 lety

      Thanks, me2!

  • @jaynj908
    @jaynj908 Před 4 lety +14

    I tried to use git years ago when I tried to learn C++. Years later decided to take up Python and discovered VSC. This video really helped out.

  • @StelaTasheva
    @StelaTasheva Před 4 lety +29

    I've passed few online tutorials/courses for git/github, spent some time reading documentation and stuff,... What I want to say is that this video is straight to what is basic but really important. Squashed into 10 minutes... awesome

  • @dhedarkhcustard
    @dhedarkhcustard Před 4 lety +49

    Another pro tip when comparing changes in VS Code you can select 1 or more lines of code, right click and select "stage selected changes" so you don't have to commit a whole file.

  • @raresdude
    @raresdude Před 5 lety +18

    Just came back to thank you for the sticker! Didn't think you will send it all the way across to Romania. Keep up the good work, Jeff. :)

  • @curtdp
    @curtdp Před 5 lety +4

    Wow! This is very tightly packed piece of info on how to start git! With huge amount of work on video editing... Thank you! 🙌

  • @pulserudeus7968
    @pulserudeus7968 Před 2 lety +1

    This is the tutorial🔥 Saw a lot of git tutorials on youtube but this one explains the best🙌🏼 Thanks man🐙

  • @samuelkatz2463
    @samuelkatz2463 Před rokem +1

    It's quite wonderful to see how many profiles who've forked this project are now onto doing some very interesting things!

  • @jintak8199
    @jintak8199 Před 5 lety +6

    Dude, i love this channel. Appreciate all your work!

  • @entrey_ua
    @entrey_ua Před 4 lety +3

    This channel is trully the best one.
    Short, useful, essential information. Just great!

  • @drullo
    @drullo Před 5 lety +10

    Excellent! Thank you for the great videos. You have a good, concise format that conveys the essential information and targets your audience very well.

  • @christophergruendell8089
    @christophergruendell8089 Před 5 měsíci +2

    I’m probably gonna have to rewatch this like 30 times before I am actually proficient in what he’s speaking about but everything I need is here. Thanks Fireship!

  • @thesqueak5474
    @thesqueak5474 Před 4 lety +2

    one of the best git tutorials ive seen.. keep up the gd work man

  • @mpldr_
    @mpldr_ Před rokem +18

    I would like to submit a patch:
    - do small commits
    + do commits rebase and squash them until you have a nice topical package and ensure that every commit by itself is compilable (This allows for easier bisects later on).

  • @SirLasterOfDesaster
    @SirLasterOfDesaster Před 4 lety +1

    Yeeaaa THANK YOU!
    Now I understand the process of merging.
    I always thought I have to stay in the branch to merge to the master. But the right way is stay in the master an merge the features in from the branch to the master.

  • @d33znameless68
    @d33znameless68 Před 5 lety +8

    I'll be watching all of your videos. I definitely need all the help I can get for learning everything programming / coding related.

    • @Fireship
      @Fireship  Před 5 lety +5

      That's what this channel is here for, thanks for watching!

  • @lvzy5833
    @lvzy5833 Před 2 lety +2

    Definitely underrated concise tutorial on git

  • @chiragsingla.
    @chiragsingla. Před 2 lety +5

    I used to feel embarassed when I didn't know git, now I know it and it's very helpful, I also have a workflow and pre-commit setup very helpful

  • @IhorVyshniakov
    @IhorVyshniakov Před 2 měsíci

    Thank you for compressing all this knowledge to easy visual understanding concepts 🤘

  • @IAmNumber4000
    @IAmNumber4000 Před 3 lety +5

    I knew Git was supposed to be useful before I knew how to use it but wow. That's super useful.

  • @lyto2326
    @lyto2326 Před 5 lety +1

    Love this video and its style! Also great advices even fot those that we already were using Git :D

  • @bjk837
    @bjk837 Před 4 lety +6

    This is brilliant! You got rewarded for learning not simply for watching! I haven’t seen that before!...makes the CZcamsr/Subscriber relationship feel a bit different and refreshingly new...it’s not passive it’s active #pioneer

  • @notcapnbloodbeard
    @notcapnbloodbeard Před rokem +1

    never have I been so confused yet learned something new at the same time

  • @baibhavchakraborty1560
    @baibhavchakraborty1560 Před 2 lety +1

    I used to suck at git. But this has helped me.
    Thanks a lot brother ☺️.

  • @frankcastellanos
    @frankcastellanos Před 8 měsíci +2

    This video saved my life!

  • @jesselima_dev
    @jesselima_dev Před 5 lety +2

    Always awesome tips Jeff. Thanks!!!

  • @darshangowda309
    @darshangowda309 Před 5 lety +12

    Application of encryption here was just amazing 🤯 Never thought of it this way :P thanks 💣

  • @saint_michael_the_archangel

    Hey man, you're great. Love your videos. Keep going, you're almost there.

  • @Arnauuumm98
    @Arnauuumm98 Před 4 lety

    Your videos are excellent, keep up the good work! Love your videos!

  • @nbamj88
    @nbamj88 Před 5 lety +1

    As always, a very smart way of teaching

  • @SCTproductionsJ5
    @SCTproductionsJ5 Před 2 lety +3

    Man... a CZcams channel I don't put on 1.5x or 2x speed. That's an accomplishment!

  • @yuehernkang
    @yuehernkang Před 5 lety

    wow thanks for the guide! Really loved it

  • @MrStefanica
    @MrStefanica Před 2 lety

    Another Excellent video ! Thanks ! 🙂
    Small commits and squash flag are, as to me, two very useful pieces of advice.

  • @glenimal
    @glenimal Před 2 lety +1

    One my best 12:19 minutes ever spent on CZcams, top class ❤️🅿️

  • @sridhar-natuva
    @sridhar-natuva Před 5 lety +1

    Nice video to remind basics again. Thank you.

  • @jsonkody
    @jsonkody Před 5 lety +1

    This channel has amazing quality

  • @anirbankopty9418
    @anirbankopty9418 Před rokem

    The video is efficient, just you could mention where you were changing accounts for the forking and pull request section.

  • @jamilvillones5020
    @jamilvillones5020 Před rokem +1

    And just like that. I can now use Git. Great video as always!

  • @jakobarsement8266
    @jakobarsement8266 Před 3 lety +2

    Stickers haha. Brilliant way to make your videos interactive. Anymore giveaways coming soon?

  • @73dines
    @73dines Před 4 lety

    This is the only channel which I have to follow on .75.
    Perfect content if you ask me.

  • @Joshfw892
    @Joshfw892 Před 5 lety +2

    Nice video, I've used source tree before which is more of a UI based source control. I would prefer to use something more terminal based. Will be keeping an eye on this.

  • @beyondcatastrophe_
    @beyondcatastrophe_ Před 3 lety +65

    I would recommend "git add -A" instead of "git add .", since this has the added benefit of removing deleted files in the repository
    This is because '.' is expanded to all files in this (sub)directory by the shell and git does not receive the dot, while '-A' tells git to do this itself

    • @sodiboo
      @sodiboo Před 3 lety +8

      technically . is expanded to the current directory, which git itself expands to all files and subdirectories within it - correct that it does not receive the . but not *quite* accurate what it does receive

  • @alvinquezon5973
    @alvinquezon5973 Před 5 lety +3

    Hi Fireship, great tutorial, however can you do a advance topic like rebase and other advance functionality for github? Thank you!

  • @mehedirifat9072
    @mehedirifat9072 Před 2 lety +1

    This video is helping me in 2021

  • @PedroRamos1991
    @PedroRamos1991 Před 4 lety +2

    More tips about git. Thanks for sharing this content

  • @md.mohaiminulislam9618

    this is it, to the point, no time wasting

  • @GeekyMino
    @GeekyMino Před 4 lety +1

    Great tutorial. Really well made.

  • @zozo1603
    @zozo1603 Před 5 lety +6

    I got the sticker finally! 😊(from Hungary) 🔥🔥🔥

  • @vimtor
    @vimtor Před 5 lety

    Hey great video! A follow up about git flow would be nice.

  • @gardient
    @gardient Před 5 lety +3

    hey, thanks for the sticker, totally forgot about it until my dad asked "What's with the envelope?", we have the same name so sometimes it's hard to tell what's for who, had a laugh the moment I saw the sticker, thanks again

  • @RaghuprasaadIyer
    @RaghuprasaadIyer Před 4 lety +2

    what an intro animation ....awesome

  • @sanguinetenetsofnull9227

    Thank you for making this

  • @ismannyb8148
    @ismannyb8148 Před 4 lety

    I use gitflow plugin in vs code to setup the branching model . Git is awesome

  • @ewerninghaus
    @ewerninghaus Před 2 lety +1

    Great video. Looking into the programs, I was expecting the encryption/decryption being wrote by you. Not the case, simply RSA.encrypt and .decript. Anyhow, thanks for the overview.

  • @mvvbuch
    @mvvbuch Před 5 lety +1

    Thank you!

  • @junaid.hassan
    @junaid.hassan Před 5 lety +1

    Thanks for the Sticker

  • @spendmoney303
    @spendmoney303 Před 3 lety +1

    how pro i want to be one day. long journey ahead. thank you for this great free info! liked!

  • @mohamedselim7635
    @mohamedselim7635 Před 2 lety

    Bro, you are a life saver ♥️♥️

  • @humand0969
    @humand0969 Před rokem +2

    Turns out it's a folder tree! Nice! (no sarcasm, it's actually nice)

  • @carrillocarlosce
    @carrillocarlosce Před 5 lety +5

    I'll watch it tonight, in the meantime, I'll give it a like =D

  • @CJ2by4
    @CJ2by4 Před 2 lety +1

    this is awesome thanks so much

  • @macokaba1964
    @macokaba1964 Před 5 lety

    Thanks so much Jeff

  • @Tyokok
    @Tyokok Před 4 lety

    AWESOME 12 min video on git! Thanks a lot! One quick Q: what is npm install? why you need it after clone from github? Thank you!

    • @maix52
      @maix52 Před 4 lety

      I think npm install get all dependency required and install them so you have the node_modules folder with all modules installed

  • @SoimulX
    @SoimulX Před rokem

    Best before 2020 indeed

  • @ALL_R0UNDER
    @ALL_R0UNDER Před rokem

    This is feb-2023 and this video is still relatable and helpful. Wonderful!

  • @jarrydpatel9650
    @jarrydpatel9650 Před 4 lety

    Your videos are always good. Really appreciative your channel. Please keep making Videos @Fireship

  • @MercyFromOverwatch2
    @MercyFromOverwatch2 Před 2 lety

    Jeff is my favourite tech youtuber

  • @user-ju1co7wu9b
    @user-ju1co7wu9b Před 8 měsíci +1

    Thank you

  • @007alg
    @007alg Před 2 lety

    Thank you.

  • @lucasgasparino6141
    @lucasgasparino6141 Před 2 lety

    Sending this to some coworkers jajajajajajajaja xD but seriously, that was pretty amazing. Any change we get something similar for git CI? Especially for a code built with CMake :)

  • @mikaelkolehmainen9098
    @mikaelkolehmainen9098 Před 4 lety +1

    Thanks!

  • @cinamynj
    @cinamynj Před 9 měsíci

    Learning about git today
    I so wish I didnt need to Linux
    But its like the easiest way to get it going

  • @dhanrajshetty645
    @dhanrajshetty645 Před rokem

    Best place to learn web developement.

  • @HyperCodec
    @HyperCodec Před rokem

    With rust it automatically gives you a repo. Just another nice little convenience

  • @joaomarcelofurtadoromero8277

    lovely Firekid in the background 6:11

  • @shionjay9882
    @shionjay9882 Před 5 lety

    Wow! nice Video. Thanks! 👍👍

  • @VoidPaul97
    @VoidPaul97 Před 10 měsíci +1

    I would like to add the encryption on Java (since it's the only language I'm learning because of college. I chose to learn programming, but since in my country Java is the best paid programming language I'm learning it there. No complains about it so far, but I'm pretty sure that when I move to another language like Kotlin, Swift, or C# I'll understand why people hate it. In the meantime I'll have to add that encryption through Java)

  • @programinggrid967
    @programinggrid967 Před 4 lety +1

    Suggestion: make on docker like this one.

  • @glitched.gaming
    @glitched.gaming Před rokem +3

    So I am hoping that this tutorial will help me, I'm nearing my last straw. I don't know why Git is so hard for me to grasp. I started programming learning Java (Huge mistake) and that felt like I was trying to swallow an elephant. Just wrapping my head around the OOP concepts drove me to breakdowns crying. Since then I've been able to grasp other languages like Javascript and Python, but for some reason I feel like I'm learning Java All over gain and have broken down more than once. So in advance thank you. and cross your fingers.

  • @codewithfrenchy
    @codewithfrenchy Před 5 lety +1

    well done!

  • @Luiz-yj9rs
    @Luiz-yj9rs Před 2 lety

    Amazing video !

  • @DimanIvanov
    @DimanIvanov Před 5 lety

    Hi! Can you create video, how configure vscode for using with angular2+ and react. Which plugins are best for it. Thanks 🙂

  • @merebhayl5826
    @merebhayl5826 Před 3 lety

    Please make your recorder display the hotkeys you press at the bottom? that would really make it really really helpful.
    ⌘ + D ...

  • @gdaimon
    @gdaimon Před 5 lety +1

    I like this, thanks

  • @dannyv12
    @dannyv12 Před 3 lety

    Nice vid and interaction with the user but did you know you can get the rsa public by just having the private these days

  • @lucyebrada2950
    @lucyebrada2950 Před 6 měsíci +2

    This feels too big of a pill to swallow within a short time. I hope I do understand this after a few more replays within the week 🤞🏻

  • @stefano8936
    @stefano8936 Před rokem

    You can't always git what you want.
    But if you try sometimes, you git what you need.

  • @mobcaster9262
    @mobcaster9262 Před 4 lety

    Love your video

  • @jasongoossens
    @jasongoossens Před 4 lety +1

    Quick question: is it good practice to commit your gitignore file or not? Thanks!

  • @shazimajaz6210
    @shazimajaz6210 Před 3 lety

    Which system font are you using? For some reason, whichever linux distro I install, I just don't end up liking the font.

  • @phpostrich
    @phpostrich Před 9 měsíci

    super useful

  • @fabiojonathanarifin1
    @fabiojonathanarifin1 Před 8 měsíci +1

    Sir, I saved at least a hundred thousand dollars of college tuition fee because of you...

  • @spacepacehut3265
    @spacepacehut3265 Před rokem

    Does the sticker giveaway is still live 😭 if not then please make it bud 🥺

  • @BeeJay91
    @BeeJay91 Před 3 lety

    Thanks

  • @SCTproductionsJ5
    @SCTproductionsJ5 Před 2 lety +1

    Around the 9:00 mark, why can't you just *clone* or *checkout* from someone's repository without having to fork it?
    Also, is forking how a person would normally compile and run open source software on their own? How easy/hard is that to do? ...cause I feel like every software would be different.

  • @DavePastor
    @DavePastor Před 5 lety +3

    Is he actually typing? :O Keep up the good work

    • @precumming
      @precumming Před 4 lety +3

      He uses ctrl+y/redo for some, pasting for others