Git It? How to use Git and Github

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.ค. 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 312

  • @Fireship
    @Fireship  5 ปีที่แล้ว +316

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

    • @davidandrei22
      @davidandrei22 4 ปีที่แล้ว +9

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

    • @bullettime2808
      @bullettime2808 3 ปีที่แล้ว

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

    • @flleaf
      @flleaf 3 ปีที่แล้ว

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

    • @kalishaatlas6297
      @kalishaatlas6297 ปีที่แล้ว +1

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

    • @kalishaatlas6297
      @kalishaatlas6297 ปีที่แล้ว +1

      GitHub one 5:13

  • @emilgabriel81
    @emilgabriel81 ปีที่แล้ว +341

    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 ปีที่แล้ว +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 ปีที่แล้ว +3

      @@Microphunktv-jb3kj i impressive the same

    • @isoaga66
      @isoaga66 ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว

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

  • @KamelJabber1
    @KamelJabber1 5 ปีที่แล้ว +516

    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  5 ปีที่แล้ว +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 ปีที่แล้ว +3

      What's scribe?

    • @davesomeone4059
      @davesomeone4059 ปีที่แล้ว +1

      @@seenu69 I think the ancient Egyptians use them.

    • @Microphunktv-jb3kj
      @Microphunktv-jb3kj ปีที่แล้ว +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

  • @JonSmoley
    @JonSmoley 5 ปีที่แล้ว +149

    I love these more general framework-agnostic videos. 🐶

    • @Fireship
      @Fireship  5 ปีที่แล้ว +18

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

    • @curiosdevcookie
      @curiosdevcookie 4 ปีที่แล้ว

      Thanks, me2!

  • @me_lvin7068
    @me_lvin7068 11 หลายเดือนก่อน +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!

  • @raresdude
    @raresdude 5 ปีที่แล้ว +19

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

  • @dhedarkhcustard
    @dhedarkhcustard 4 ปีที่แล้ว +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.

  • @entrey_ua
    @entrey_ua 4 ปีที่แล้ว +3

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

  • @curtdp
    @curtdp 5 ปีที่แล้ว +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! 🙌

  • @mpldr_
    @mpldr_ ปีที่แล้ว +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).

  • @jaynj908
    @jaynj908 4 ปีที่แล้ว +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.

  • @jintak8199
    @jintak8199 5 ปีที่แล้ว +6

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

  • @pulserudeus7968
    @pulserudeus7968 2 ปีที่แล้ว +1

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

  • @drullo
    @drullo 5 ปีที่แล้ว +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.

  • @thesqueak5474
    @thesqueak5474 4 ปีที่แล้ว +2

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

  • @StelaTasheva
    @StelaTasheva 4 ปีที่แล้ว +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

    • @aron.mp4
      @aron.mp4 ปีที่แล้ว +3

      git squash

  • @samuelkatz2463
    @samuelkatz2463 ปีที่แล้ว +1

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

  • @lvzy5833
    @lvzy5833 2 ปีที่แล้ว +2

    Definitely underrated concise tutorial on git

  • @christophergruendell8089
    @christophergruendell8089 6 หลายเดือนก่อน +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!

  • @d33znameless68
    @d33znameless68 5 ปีที่แล้ว +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  5 ปีที่แล้ว +5

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

  • @lucyebrada2950
    @lucyebrada2950 6 หลายเดือนก่อน +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 🤞🏻

  • @IAmNumber4000
    @IAmNumber4000 3 ปีที่แล้ว +5

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

  • @chiragsingla.
    @chiragsingla. 3 ปีที่แล้ว +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

  • @notcapnbloodbeard
    @notcapnbloodbeard ปีที่แล้ว +1

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

  • @SirLasterOfDesaster
    @SirLasterOfDesaster 4 ปีที่แล้ว +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.

  • @jesselima_dev
    @jesselima_dev 5 ปีที่แล้ว +2

    Always awesome tips Jeff. Thanks!!!

  • @lyto2326
    @lyto2326 5 ปีที่แล้ว +1

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

  • @SCTproductionsJ5
    @SCTproductionsJ5 2 ปีที่แล้ว +4

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

  • @nbamj88
    @nbamj88 5 ปีที่แล้ว +1

    As always, a very smart way of teaching

  • @saint_michael_the_archangel
    @saint_michael_the_archangel 2 ปีที่แล้ว

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

  • @baibhavchakraborty1560
    @baibhavchakraborty1560 2 ปีที่แล้ว +1

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

  • @frankcastellanos
    @frankcastellanos 9 หลายเดือนก่อน +2

    This video saved my life!

  • @bjk837
    @bjk837 4 ปีที่แล้ว +6

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

  • @jsonkody
    @jsonkody 5 ปีที่แล้ว +1

    This channel has amazing quality

  • @darshangowda309
    @darshangowda309 5 ปีที่แล้ว +12

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

  • @Arnauuumm98
    @Arnauuumm98 4 ปีที่แล้ว

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

  • @IhorVyshniakov
    @IhorVyshniakov 2 หลายเดือนก่อน

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

  • @beyondcatastrophe_
    @beyondcatastrophe_ 3 ปีที่แล้ว +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 3 ปีที่แล้ว +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

  • @glenimal
    @glenimal 2 ปีที่แล้ว +1

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

  • @yuehernkang
    @yuehernkang 5 ปีที่แล้ว

    wow thanks for the guide! Really loved it

  • @sridhar-natuva
    @sridhar-natuva 5 ปีที่แล้ว +1

    Nice video to remind basics again. Thank you.

  • @GeekyMino
    @GeekyMino 4 ปีที่แล้ว +1

    Great tutorial. Really well made.

  • @jakobarsement8266
    @jakobarsement8266 3 ปีที่แล้ว +2

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

  • @jamilvillones5020
    @jamilvillones5020 ปีที่แล้ว +1

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

  • @PedroRamos1991
    @PedroRamos1991 4 ปีที่แล้ว +2

    More tips about git. Thanks for sharing this content

  • @RaghuprasaadIyer
    @RaghuprasaadIyer 4 ปีที่แล้ว +2

    what an intro animation ....awesome

  • @MrStefanica
    @MrStefanica 3 ปีที่แล้ว

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

  • @73dines
    @73dines 4 ปีที่แล้ว

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

  • @Xphy
    @Xphy ปีที่แล้ว +19

    I didn't Git it

    • @AG-ur1lj
      @AG-ur1lj 20 ชั่วโมงที่ผ่านมา

      u must be a Git

  • @mehedirifat9072
    @mehedirifat9072 3 ปีที่แล้ว +1

    This video is helping me in 2021

  • @md.mohaiminulislam9618
    @md.mohaiminulislam9618 ปีที่แล้ว

    this is it, to the point, no time wasting

  • @gardient
    @gardient 5 ปีที่แล้ว +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

  • @zozo1603
    @zozo1603 5 ปีที่แล้ว +6

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

  • @carrillocarlosce
    @carrillocarlosce 5 ปีที่แล้ว +5

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

  • @vimtor
    @vimtor 5 ปีที่แล้ว

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

  • @anirbankopty9418
    @anirbankopty9418 ปีที่แล้ว

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

  • @alvinquezon5973
    @alvinquezon5973 5 ปีที่แล้ว +3

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

  • @junaid.hassan
    @junaid.hassan 5 ปีที่แล้ว +1

    Thanks for the Sticker

  • @sanguinetenetsofnull9227
    @sanguinetenetsofnull9227 2 ปีที่แล้ว

    Thank you for making this

  • @HyperCodec
    @HyperCodec ปีที่แล้ว

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

  • @humand0969
    @humand0969 ปีที่แล้ว +2

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

  • @MercyFromOverwatch2
    @MercyFromOverwatch2 2 ปีที่แล้ว

    Jeff is my favourite tech youtuber

  • @ALL_R0UNDER
    @ALL_R0UNDER ปีที่แล้ว

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

  • @Joshfw892
    @Joshfw892 5 ปีที่แล้ว +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.

  • @SoimulX
    @SoimulX ปีที่แล้ว

    Best before 2020 indeed

  • @ismannyb8148
    @ismannyb8148 4 ปีที่แล้ว

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

  • @programinggrid967
    @programinggrid967 4 ปีที่แล้ว +1

    Suggestion: make on docker like this one.

  • @spendmoney303
    @spendmoney303 3 ปีที่แล้ว +1

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

  • @joaomarcelofurtadoromero8277
    @joaomarcelofurtadoromero8277 ปีที่แล้ว

    lovely Firekid in the background 6:11

  • @mohamedselim7635
    @mohamedselim7635 2 ปีที่แล้ว

    Bro, you are a life saver ♥️♥️

  • @shionjay9882
    @shionjay9882 5 ปีที่แล้ว

    Wow! nice Video. Thanks! 👍👍

  • @macokaba1964
    @macokaba1964 5 ปีที่แล้ว

    Thanks so much Jeff

  • @stefano8936
    @stefano8936 ปีที่แล้ว

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

  • @dhanrajshetty645
    @dhanrajshetty645 ปีที่แล้ว

    Best place to learn web developement.

  • @mvvbuch
    @mvvbuch 5 ปีที่แล้ว +1

    Thank you!

  • @CJ2by4
    @CJ2by4 2 ปีที่แล้ว +1

    this is awesome thanks so much

  • @jasongoossens
    @jasongoossens 4 ปีที่แล้ว +1

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

  • @ewerninghaus
    @ewerninghaus 2 ปีที่แล้ว +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.

  • @jarrydpatel9650
    @jarrydpatel9650 4 ปีที่แล้ว

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

  • @DimanIvanov
    @DimanIvanov 5 ปีที่แล้ว

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

  • @cinamynj
    @cinamynj 9 หลายเดือนก่อน

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

  • @Luiz-yj9rs
    @Luiz-yj9rs 2 ปีที่แล้ว

    Amazing video !

  • @spacepacehut3265
    @spacepacehut3265 ปีที่แล้ว

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

  • @keokawasaki7833
    @keokawasaki7833 3 ปีที่แล้ว +1

    i thought my screen was dying when the video started to glitch

  • @MadOgre22
    @MadOgre22 ปีที่แล้ว +1

    How do emoji in commit messages result in more stars on your project?

  • @amankumarsinghkushwaha
    @amankumarsinghkushwaha ปีที่แล้ว +1

    Hey is sticker Giveaway is still live

  • @shazimajaz6210
    @shazimajaz6210 3 ปีที่แล้ว

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

  • @codewithfrenchy
    @codewithfrenchy 5 ปีที่แล้ว +1

    well done!

  • @diazfarindra1855
    @diazfarindra1855 3 ปีที่แล้ว +2

    hey mmm, how can i add that emoji? in source code or in command line?

  • @fzmdev
    @fzmdev 4 ปีที่แล้ว +1

    Can you renew the firebase authentication video using angular.and also add phone login. Please

  • @dannyv12
    @dannyv12 3 ปีที่แล้ว

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

  • @yukihyo8394
    @yukihyo8394 4 ปีที่แล้ว +3

    just a really big pro tip for people learning git and not grasping it at all (it took me a while to understand the power of git)
    PLEASE use a git client (i 100% recommend gitkraken, since it gives you a really nice and clear graph which really helps understand what the fuck is going on)
    you are simply not gonna be able to memorize all the commands, and you will 100% forget how your repo structure looks like.
    it boils down to, command line sucks for learning.
    and please dont fall in the trap of: "Real programmers only use git on the command line", unless you wanna be less efficient
    if you got questions about git and gitkraken or anything feel free to leave a command :p

  • @fabiojonathanarifin1
    @fabiojonathanarifin1 8 หลายเดือนก่อน +1

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

  • @gdaimon
    @gdaimon 5 ปีที่แล้ว +1

    I like this, thanks

  • @lucasgasparino6141
    @lucasgasparino6141 2 ปีที่แล้ว

    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 :)

  • @glitched.gaming
    @glitched.gaming ปีที่แล้ว +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.

  • @chukailozulu7074
    @chukailozulu7074 5 ปีที่แล้ว +1

    How do you make the commits multi line?

  • @mobcaster9262
    @mobcaster9262 4 ปีที่แล้ว

    Love your video

  • @merebhayl5826
    @merebhayl5826 3 ปีที่แล้ว

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

  • @SCTproductionsJ5
    @SCTproductionsJ5 2 ปีที่แล้ว +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.