Learn Git in 20 Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024

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

  • @WebDevSimplified
    @WebDevSimplified  6 ปีที่แล้ว +130

    Hi everyone. First I want to say thanks for all the support for this video. I put a lot of effort into this video, but of course still managed to mess up the audio.
    I just switched over to using a new mic, the AKG P220, from my old mic, the Blue Snowball, and didn't realize that my changes to record in mono instead of stereo was not saved between recording sessions. I also, like an idiot, only tested my sound with the left headphone since that is the only one that reaches my desk from my computer tower. I promise you this will be fixed in my next video even if I have to lay on the ground to test my audio.
    Thanks again for watching and giving me so much support.

    • @Razyelgore
      @Razyelgore 6 ปีที่แล้ว

      Nice video mate, you gained a subscriber

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

      Thanks! I hope the next video is just as useful for you.

    • @relax-bq7ij
      @relax-bq7ij 5 ปีที่แล้ว +2

      Web Dev Simplified you’re just fine. Take it easy on yourself!

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

      Don't even sweat this non-issue! Great job as always on the content! Thank you!

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

      You are just superb buddy... awesome... that's how everyone should learn how to teach👍👍

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

    I so needed this. I just wish you had covered reverting changes to the last working one. Thanks!

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

    Now might be the right time to refresh this video and discuss the end of 'Master', since the default has now been replaced with 'Main'.

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

    You are creating best videos on Web development in youtube. Best content, to the point concepts. Thank you so much.

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

    Thank you so much, Kyle! I was having a hard time learning Git and watching this made it so much easier for me. You are truly making the web simplified. Keep up the great tutorials!

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

    Thanks WDS
    I watched over 5 vids on this topic, but just could not get my head around some points.
    Yours explained everything I wanted to understand very well. Relief. Subscribed and liked.
    Cheers

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

      I'm really glad my video was able to help. Hopefully my other videos can save you time by explaining things in a way that make sense right away.

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

      @@WebDevSimplifiedthanks mate, for putting in the effort of producing and sharing your vids. I'm starting to look through them this weekend.

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

    17:25 Merge Conflict
    20:32 Clone, simulating multiple user

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

    Great video on some git basics. I would suggest showing the use of git status more to demonstrate when a file is not added to the staging area, staged, etc... I like that you used git bash as I feel the commands are better to learn instead of relying on tortoise git or something. Not that I don't like tortoise git.

  • @benphillips1
    @benphillips1 6 ปีที่แล้ว +25

    "git tracks changes through three stages." Say that 5 times fast.

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

    Thank you very much! This is a very necessary video for me!

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

    Hi. Awesome videos on your channel! It’s always been a mystery to me how to integrate with easy the end to end development, test and production work flow. People mention Jenkins. Some us a local PC for dev then publish somewhere else for Production. There’s CDCI too!? What’s the easiest end to end web app developer workflow when sharing with other developers?

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

    I love all your tutorials! 👍Very helpful! Thank you so much!

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

    The video is very informative.
    If you are able to put in how to deal with stash, revert a change, rebase.

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

      Thanks. That is something I plan to add into a later video on Git since they are more advanced features.

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

    great tutorial !

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

    I can't find the link you mention on this video with the video on how to do the initial setup, specifically on how to find repositories posted for other people, like from Udemy

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

    Thanks alot

  • @Richard.halabi
    @Richard.halabi 2 ปีที่แล้ว

    Does the commit , work on separate file ? or multi files ?

  • @CloudGuardian-k6t
    @CloudGuardian-k6t 11 หลายเดือนก่อน

    is it okay to use HTTP? SSH needs key on my git, but HTTP works, wont it be a problem soon?

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

    sorry kind of new to git but why can John just sudden push his commit on the master branch ? without other people approving the file he is adding. if this is another branch or his own branch I understand. but isn't this is kinda problematic?

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

    you are awesome

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

    Good job 👍

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

    Good tutorial but author working in bottom of screen with small fonts made it 1 star rated video.

  • @gumpie
    @gumpie 6 ปีที่แล้ว +113

    Just a small thing. It sounds like your audio balance might be out. Its all in the left ear.

    • @mrz9672
      @mrz9672 6 ปีที่แล้ว +16

      weird as soon as I clicked the thumb up on your comment I got sound in both channels..

    • @WebDevSimplified
      @WebDevSimplified  6 ปีที่แล้ว +45

      I am really sorry about the audio problems. I used a brand new mic (AKG P220) for this video, and like an idiot only tested the video with my left headphone since it is the only one that reaches my chair from my computer tower. I promise this will be fixed for the next video, and I hope it wasn't too distracting.

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

      all good mate !! thanks for the tutorial

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

      @@WebDevSimplified it's okay

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

      lol i was listening to the video in the right tws and was wondering why there was no sound🤣🤣

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

    Hands down, you're the best web dev teacher out there... you have a great teaching style that gives context and then details.

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

      Thank you so much! I am really glad you enjoy my style and that you are able to learn from it. I really appreciate it.

  • @tonyguinta
    @tonyguinta 4 ปีที่แล้ว +24

    Great basic overview. Would like to see a part 2 covering rolling back to earlier versions.

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

    i think i missed it but why is using ssh better over http? thanks!!

  • @Kk-ul2ir
    @Kk-ul2ir 3 ปีที่แล้ว +3

    My left ear enjoyed this video.

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

    when i press right click i dont see the terminal button help

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

    why are you only in my left ear

  • @M4G0N3
    @M4G0N3 6 หลายเดือนก่อน

    i just wanna see 'SuperSimpleDev' and 'Web Dev Simplified' in a podcast, discussing about anything the like I guess

  • @Naz-h8z
    @Naz-h8z ปีที่แล้ว

    hey Kyle, i would live to see in these do X in Y minutes videos - whats not included. for example, yes this is basic on subject, but just quick summary of whats not in video would be helpful

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

    Thanks for the video. I'd never used github, nor I was taught about it, so it was quite useful :)

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

    Great video as always! I for one would be interested in an advanced git tutorial.

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

      Thanks. I have been thinking about doing an advanced git video but haven't gotten around to it.

  • @ChandanKr.16
    @ChandanKr.16 4 ปีที่แล้ว

    I was watching your video using headphone then i notice something weird. In my headphone sound was coming from only left side. I thought something is wrong with my headphone so I listened some other audio and video and sound is coming from both side only in this video my headphone sound was coming from left side only. I do not know why?

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

    Great work. Thanks for doing this. I was about to pull my hair out. Was having branch merging issues.

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

      No problem! I'm glad the video was able to help. Git is definitely one of the harder concepts to wrap your head around, and it took me quite a long time to fully understand how Git worked.

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

    Would've made more sense to include the git installation and how to configure with GitHub in this intro video and not in another new video...

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

    the sound is more intense or loud on left side of the earphone than on the right side, quite annoying.
    .
    .
    .
    The content was great. Thank you.

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

    How to prevent our remote repo to change by the other dev if they clone our repo and they commit the changes they want?

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

    wow this video was extremely helpful , i am using .github.io repository thing to host my website and i had to change every code i made manually like an idiot , only if i knew about this earlier

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

    I don't quite understand how to make an ssh key, as the instructions are implicit to the degree of implying that I know wtf I'm doing, so I'm using https lol
    'You don't have any public SSH keys in your GitHub account.' and upon proceeding regardless, the terminal had quite a bit to say about it as well.
    Probably easy, but the real question is.... HOW easy is it???

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

      This video should walk you through the steps to setup an SSH key. th-cam.com/video/HfTXHrWMGVY/w-d-xo.htmlm2s

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

    Video Request: Github using VSCode instead of the command line.
    Great upload btw!

  • @orion10x10
    @orion10x10 6 ปีที่แล้ว +3

    Oh my gosh this video is very information packed! I took notes and I'm 10 minutes in but I'm taking a 20 minute break to soak in the information and then I'm coming back, great stuff.

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

      Thank you! The halfway point is a great place to stop for a break, because the information at the beginning is a lot to digest at once. I really hope the example in the second half of the video helps the information soak in even further.

  • @omarowimmer7947
    @omarowimmer7947 4 หลายเดือนก่อน

    thank you Kyle about this amazing vids i wish you the best

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

    Clean and to the point without the fluff. Well done. Thank you.

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

    Hi, Kyle, this is a informative video. Will you make a video regarding "git rebase"? I happen to see this concept in other tutorial but couldn't figure it out thoroughly.

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

    Thank you for the video!!
    Question: I don't have multiple people working on a same project with me but I switch between my laptop and my desktop when working on a same project. Is it a good practice if I keep the version I'm working on my laptop and a branch and keep committing to it until I'm satisfied with the work on the laptop, THEN I'll merge into master? So basically like 2 people keep working on 2 separate features, but they're not done in 1 sitting to merge into master, can they keep working on 1 branch, adding, committing and pushing until they're done with the feature,then both merge to master?

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

      The way branches work in Git is that you are able to create them and merge them at any point and in any order. You may run into conflicts between your branch and master and in that case all you need to do is manually fix the conflicts and you can merge the branch just fine.

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

    Finally, I got awesome explanation!

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

    Out of all the git tutorials I understood only this

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

    Awesome Video 😊😎😎

  • @nitaikodkani
    @nitaikodkani 8 หลายเดือนก่อน

    best git and github video ive seen thanks

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

    Only my left brain understood Git. Pls make a tutorial for the Right brain too.

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

    Great video. Thanks a lot.

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

    bro there is no sound affter 8 minut

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

    Thanks for the Video ! Super helpful :)
    How frequent should I pull the changes from the branches? Let's say I work on a branch "feature A" for two weeks. In the meantime, the master branch has been updated quite a few times. Is it necessary for me to pull from the master branch like every day ? every hour? Or do I just don't pull any changes and just merge once I'm done. It's not clear to me if it comes to problems when I'm working on a branch that was created from an old master branch or if it doesn't matter how many commits I'm behind main.

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

    I love the pace u talk with.....awesome tutorial as always..I would love to watch an advanced git tutorial please

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

      Thank you. That is an idea I have been wanting to do for quite awhile now.

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

    Best video on youtube

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

    Keep up the good work bro! amazing video and damn easy to learn. :)

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

      Thank you! I'm glad you enjoyed the video.

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

    Great lecture Kyle sir

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

    speed up the video *2 , you'll learn Git in 10 minutes
    I'm joking, thank man, u're offering such great information
    , It helps a lot

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

    I watched two git tutorials each 40min long and just when I was about to decide "Im ok with my knowlede" I saw this shiny 20min tutorial from WebDevSimplified. It was deifinitely worth to summarise it all here.

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

    This is an amazing video. I like your videos a lot cos it's always straight to the point and filled with the best of facts about the matter. Well done bro!

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

    Supper Quality Stuff Under 20 minutes thnx brO

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

    👍

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

    Hello, how did you add colorful arrows with name of branch to the terminal in vs code?

  • @ترجماناليوتيوب
    @ترجماناليوتيوب 2 ปีที่แล้ว

    3 years ago and still valid, thats Amazing.
    4:38 - - > Typo: Git St[r]ucture

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

    thank you Kyle! I am after a bootcamp but i find that they didn't really focus on the git. It was a very good and clear explication

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

    appreciate the simplicity and clarity in content presentation!

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

    This is vintage Kyle. You videos are much more engaging. Let's see you getting to 1 million subs.

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

    Let’s git started

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

    Thanks Kyle , this is very helpful .
    you helped me successfully create a branch for my task !

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

    Thank you 🙏🏽

  • @Abhishekkumar-vf8qe
    @Abhishekkumar-vf8qe 5 ปีที่แล้ว

    Can any one explain why use ssh url not http url

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

      With ssh you do not need to type in your password each time you push and pull.

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

    After so much video i listen, this is the best explaination. Not just that he code live the real situation. Amazing channell!!

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

    excellent video, I learnt the basic of git and github within 1 hour, amazing !

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

    Another excellent video! I have one question: is it standard practice to conduct pulls on the production server? Ex: if I have a website up, and I made changes to one of the HTML files, then push the changes to GitHub, would I then go to my web server and run a git pull instead of updating the HTML file by logging in through FTP/whatever?

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

      This depends a lot on your hosting provider, but usually using git pull or continuous deployment is the best solution.

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

      @@WebDevSimplified Thanks, I'll consider using Git Pull in the future and look into Continuous Deployment.

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

    PS. You dont need to do git add ever time you change the file... The files added are already being tracked until you remove them. Cheers

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

      Bam Bam Labs So just by saving the file, my changes will be saved? No git add . required?

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

      You need to add your file everytime you make a change in that file even if it's being tracked. Without add, your changes won't come into commit.

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

    You're the best instructor
    This is my second time commenting on TH-cam ever

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

    i wish there were thousands of your videos and tutorials on youtube instead of useless, short, incomplete tutorials available in this website. perfect Kyle.

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

    Great vid,
    Everything works except for when I try to use git push. Then I get the error:
    git@github.com: Permission denied (publickey).
    fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.
    Google has not revealed any help thus far, any ideas on how to fix this?
    Thanks

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

      Is this a repository you have access to. If so make sure the ssh key you have set with github is the ssh key you are using on your account that you are pushing with.

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

    Heh, time to Git gud :D

  • @nicx.nvrlnd
    @nicx.nvrlnd 2 ปีที่แล้ว

    I'm a newbie and this helps me a lot! Thank you so much 🥺😘

  • @shahdel-badrawy
    @shahdel-badrawy 2 ปีที่แล้ว

    The best Claear explanation,I have ever heard. Thanks

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

    A really Good Explanation ,Thank you!

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

    Thank you for posting this. Git makes much more sense to me now.
    I have a question though, and maybe you can help with this. We have a repository in BitBucket that all of the developers are working from. I can commit and merge my changes to the master, but we also want to have code reviews before merging a branch into master and this is called a "pull request". Once approved it can then be merged.
    Are there Git commands to handle this type of workflow? TIA

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

      With git you just need to create a separate branch for each feature you want to review. Do all the work on that branch and then push that branch. From there you can do the review and pull request with that branch.

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

    Thank you so much! I was really struggling with this, but you made it so clear!

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

    Best video I have seen on YT on explaining git. Well done sir.

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

    at 6:36 you say that git pull
    merges github repository changes with their local changes
    so which takes precedence in cases of contradiction? the local version or the repository version?

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

      If there is a conflict then Git will notify you and you must tell it how to do the merge.

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

    Thank you so much, great tutorial

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

    do branch master and branch store both have the similar working directory after merging branch store from branch master?

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

      If you merge the store branch into master branch then master will contain all of the changes from store and master but store will only contain the changes from store not master

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

    What do you think about the drag and drop option?

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

    it was helpful indeed. thanks!

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

    Great video, thanks a million bro!

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

    From No Stack to Full Stack, I Love It

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

    thanks and please make an advanced git video ^ ^

    • @WebDevSimplified
      @WebDevSimplified  6 ปีที่แล้ว

      I do plan on making an advanced guide eventually, but currently I am working on some videos on learning CSS.

    • @laihuyu4028
      @laihuyu4028 6 ปีที่แล้ว

      sure ! I'm looking forward to it.

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

    Thank you for this video and all your other videos. They're helping me catch up to development after around 17-18 years. Btw, what font is that you use in these slides?

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

      A bit late but it looks very similar to Montserrat

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

    This is a nice resume of Git!
    Thank you!

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

    why SSH over HTTPS?

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

      With SSH you do not need to enter your password when you push, but with HTTPS you need to enter your password each time you push which becomes a pain really quickly.

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

    Excellent video as usual Kyle.

  • @Mohamedtarek-qz2zj
    @Mohamedtarek-qz2zj 5 ปีที่แล้ว

    hey kyle when i type git clone it gives me an error says check if this repository exists and it exists iam sure

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

      My guess is that you have copied the clone url incorrectly.

  • @ΒινςΜοργκαν
    @ΒινςΜοργκαν 2 ปีที่แล้ว

    So far the best tutorial on youtube