Это видео недоступно.
Сожалеем об этом.

Git and GitHub Crash Course For Beginners | Complete Tutorial [2024]

Поделиться
HTML-код
  • Опубликовано: 15 авг 2024
  • Git isn't hard to learn, and when you combine Git and GitHub together, you've just made your life a whole lot easier.
    I put this Git and GitHub tutorial together to provide a full journey through what every developer needs to know about Git and GitHub, from basic commit history operations, to advanced Git rebase and squash commands. It's great for advanced users, but Git and GitHub beginners will love it as well.
    Most Git commands are demonstrated both on the command line and in the online GitHub tool. Furthermore, various GitHub features like pull requests and forking are demonstrated as well demonstrating many of the core differences between Git and GitHub.
    If you need a crash course in Git and GitHub, and you want to learn about GitHub and Git in a fun and friendly environment, this Git and GitHub tutorial is for you!
    0:00 Git and GitHub Course Overview
    3:05 Difference between Git and GitHub
    9:34 What is a Git repository
    11:04 Create a Git GitHub repo
    13:00 Create files on GitHub
    14:12 GitHub commit history
    15:19 GitHub URL
    17:46 Clone a GitHub repo
    19:25 Git status command
    19:29 Git add command
    21:25 Git config name and email
    23:12 Git commit on command line
    23:45 Git log a dog
    26:15 Git push origin
    29:00 Git pull
    32:30 Git fetch
    34:54 Git commit all
    35:42 Git reflog
    36:33 Git cheat sheet
    37:30 Git & GitHub commit history
    44:00 Git reset hard
    45:49 Commit, add, revert, reset
    49:50 Git reset a commit
    53:35 Revert a commit
    55:15 Git cherry-pick
    57:01 Push project to GitHub
    57:41 Git remote add
    58:08 Git push upstream
    1:00:11 Git branching
    1:07:37 Git init
    1:08:20 Create a Git branch
    1:09:30 Switch branches
    1:12:01 Git merge branches
    1:12:20 Git merge vs rebase
    1:14:00 GitHub merge into Master
    1:18:15 GitHub pull requests
    1:19:44 Merge GitHub pull requests
    1:26:10 Git rebase command
    1:30:45 Use Git and GitHub together
    1:41:12 Git merge conflicts
    1:45:25 Resolve GitHub merge conflicts
    1:46:45 Squash Git commits
    1:48:43 Git stash
    1:50:23 Git stash pop & apply
    1:50:57 Git and GitHub Review
    1:52:45 Scrum Master Certification Guide
    1:53:00 Learn Git and GitHub resources

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

  • @shofada
    @shofada 5 месяцев назад +19

    This is how teaching particularly teaching tech-related content should be done.

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад +1

      Thanks for the kind words! I really saw this Git and GitHub tutorial as a journey through the various commands, starting from the basics and working to the advance. I'm glad you enjoyed it!

  • @ecksluss
    @ecksluss День назад +1

    I'm 23 minutes from the end of this video, about to start on the "grand slam" portion, and I just wanted to pause to say that this video has been phenomenal. I've learned so much and have been able to work ahead of you for a decent portion in the last 3rd of this tutorial. This is the first video I've seen of yours and just based on this one video, you are great at teaching.
    Thank you!

    • @cameronmcnz
      @cameronmcnz  День назад +1

      There are so many great videos out there on GitHub already, so I take that as high praise! Fact is, Git makes things pretty easy. The tool gets all the credit. All I did was click some buttons and talk too much.
      Thanks again for watching and commenting!

  • @Kevlam-d7l
    @Kevlam-d7l 16 дней назад +2

    Honestly, I loved how you talked about everything. The reason I loved it was because you went into even the little details that really helped me piece together everything and also helped me understand the underlying concepts. Even though instead of an hour it was almost 2 hours, those little details, diagrams, and also the fact that you showed it in action in the terminal and Git Bash really helped piece together everything so that I would not get stuck at all when I go off to do it on my own while creating my projects. It was the first time I actually saw someone explain everything so perfectly. I'm sure it took you hours to make it, and I'm sure you checked over the video many times and practiced many times as well. But I want to say that I really appreciate the effort that you put in and that it has helped me a lot. I am sure that just like how it has helped me, it has also helped many others, so thank you for all the effort you put in.

    • @cameronmcnz
      @cameronmcnz  16 дней назад +1

      This is the best comment I've ever got!
      It was honestly a lot of fun making this, and yeah, there were a lot of takes and retakes to try and make it fairly seamless.
      I also spent a lot of time on the editing phase to put graphics in to make it more visually appealing.
      Still lots of things I'd change as I'm learning more about editing and lighting etc.
      By the way, I have a GitHub Desktop video that's 30 minutes long. It was supposed to be just a 'how to install' but I got carried away. It was actually all done in a single take, which I personally find amusing.
      Thanks so much for the kind comment. It really lifted my spirits in a big way!

    • @Kevlam-d7l
      @Kevlam-d7l 16 дней назад +1

      @@cameronmcnz Haha you're going to be getting many more comments like this in the future that I can 100% guarantee after seeing your way of explaining everything and the amount of effort you are willing to put into every video that you make.
      I am going to watch your GitHub Desktop video now as well. I will be looking forward to your future videos. It's nice to see that you are taking less takes to make your videos because I know that it's very hard to quickly make seamless videos that have graphics.

  • @rolandrooseveltagodzo5974
    @rolandrooseveltagodzo5974 6 месяцев назад +16

    Your style of teaching is so unique...so inviting, not intimidating at all, so easy to follow and understand. Thank you!!

    • @cameronmcnz
      @cameronmcnz  6 месяцев назад

      Thanks for the kind words. Git and GitHub are indeed intimidating topics. I'm so glad I made these important DevOps tools more approachable for you.
      Thanks for watching!

    • @HappyHealthyWealthyYou
      @HappyHealthyWealthyYou 6 месяцев назад +3

      totally! great teacher!!

    • @cameronmcnz
      @cameronmcnz  6 месяцев назад +1

      @@HappyHealthyWealthyYou Thanks for the encouragement! Honestly, it's Git and GitHub that makes it fun. I'm just a conduit to the Git and GitHub goodness!

  • @Tee-Star
    @Tee-Star 6 дней назад

    I had some issues that came up with git rebase, and i was excited for the troubleshooting opportunity. Resolved.
    Thanks for your calm and confident demeanor.🎉

  • @mapleafstoronto3862
    @mapleafstoronto3862 4 месяца назад +3

    This is the best tutorial of Git & GitHub for beginger. After I watched this, I can understand what others saying. Thanks

    • @cameronmcnz
      @cameronmcnz  4 месяца назад +1

      Exactly what I'd expect a fellow Torontonian to say!
      Quite frankly though, this is not great for a true 'beginner.' There are lots of other really simple, 'beginner tutorials' that outrank me on Google.
      My videos tend to move quickly and I assume a much higher level of technical competency that other, similar tutorials.
      If you found this tutorial helpful, it's an indication of the fact that you're probably more advanced and more knowledgeable than the typical person searching for a Git and GitHub tutorial.
      Thanks for viewing, and I am glad I helped! If you did understand what I covered here, I grant you expert status. This tutorial covers just about every Git porcelain command there is.
      Go Leafs Go!

  • @Tee-Star
    @Tee-Star 6 дней назад

    Thanks for this tutorial. I absolutely enjoyed a reboot after being gone for a year.

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

    Cameron is my type of guy. After long search of the right tutor for me, i found cameron. Thanks Man.

    • @cameronmcnz
      @cameronmcnz  4 месяца назад +1

      You'll change your tune when you get my tutoring bill. 💰💰💰
      I really enjoyed putting this git and github tutorial together, and it's exhilarating seeing it get more than the typical 200 views my videos normally get.
      Thanks again for watching and for the kind words!

    • @chethanmg7
      @chethanmg7 3 месяца назад +1

      @@cameronmcnz haha.

  • @jasewarrior545
    @jasewarrior545 2 месяца назад +1

    By far the best explanation of how to use Git. I have listened to so many tutorials and gotten so confused but now I can actually understand what is happening. Thanks Cameron, you are a great teacher.

    • @cameronmcnz
      @cameronmcnz  Месяц назад

      I'll see if I can replicate it, but I've got to admit, that's super weird.

  • @jennisonb37
    @jennisonb37 5 месяцев назад +2

    Cameron, it doesn't get much better than your teaching style. Thank you for taking the time to create this tutorial and post it. You have a new subscriber.

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад +1

      Thanks so much for the kind words! I've always been known for short, 2-minute videos that just solve a specific problem. This was my first foray into long-form content. I really enjoyed doing this, and it makes me feel great knowing it's resonated with a few people.

  • @haohsuanfu3019
    @haohsuanfu3019 3 месяца назад +2

    The style of teaching is very clear, helpful, and inviting! Thank you very much. 謝謝。

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

      Thank you for the friendly words! I really enjoyed putting this video together!

  • @turteschris3191
    @turteschris3191 4 месяца назад +1

    I wish this video had more views and recognition. Cameron really gets into how it makes sense when connecting with github AND how development works!

    • @cameronmcnz
      @cameronmcnz  4 месяца назад +1

      Thanks so much for the kind words!
      I really enjoyed putting this together, and I really wanted this to feel like a continuous journey, not just a bunch of mini-tutorials. I too would love to see more hits, but my channel has never managed to win the RUclips algo war. Here's hoping one day it will!

  • @TaofeekAgiri
    @TaofeekAgiri 2 месяца назад +1

    The way you explain things excites me

    • @cameronmcnz
      @cameronmcnz  2 месяца назад +1

      Always happy to encourage others who are digging into tough technical topics!

  • @Tekttskskwdi
    @Tekttskskwdi 3 месяца назад +1

    One of the best and straightforward and helpful git tutorial ever for beginners, I can say I watched at least 3-4 videos but could not grasp the idea behind the concepts. This video cleared it all and I mean wish you best for your rest of life.

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

      Also can you make similar introduction tutorial for docker with dockerization on web app project.

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

      Thanks for the kind words!
      To be quite honest, I felt bad calling this a 'beginners' tutorial because I think it moves *very* quickly and covers very advanced topics.
      If you were able to keep up and still understand the content, that's more a reflection of you as an adept learner than anything else.
      Have fun working with Git and GitHub!

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

      @@Tekttskskwdi Actually, I have a very quick tutorial on dockerizing an app on NGinx that I think is one of my most popular, but it is more of a 'quick how-to' for people that know Docker than a tutorial. If you want a great, quick tutorial on Docker, this 8 minute video from @Scrumtuous is one of the best!
      ruclips.net/video/rLrISSCXiMo/видео.htmlsi=7KJwksN_QpiQ61ut

  • @Brandon-kx3zg
    @Brandon-kx3zg 4 месяца назад +1

    As a visual learner, I liked your approach to teaching, nice!

  • @Sidee4
    @Sidee4 5 месяцев назад +1

    Your teaching is superb. The best tutorial on youtube. i love how you used both the terminal and Gui. it makes it more understandable. You are the best

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад

      Thanks so much for the kind words! And yes, when people see they can create a file and do a commit online with GitHub, it becomes less intimidating. Then when they clone and do some Git commands, it hopefully makes a bit more sense.
      I really enjoyed putting this tutorial together, so it's extra-rewarding to hear you enjoyed it!

  • @Some-z2p
    @Some-z2p 2 месяца назад +1

    To be honest, this is one of the best tutorial for git and GitHub in youtube.
    Can you do the tutorial video for docker? it will be very helpful

  • @jordachmakaya493
    @jordachmakaya493 7 месяцев назад +1

    I juste made PAUSE in 6.54 Min - i have seen lot of explantation about Git but that's so clear and the little screen that shows what each of the code does j-u-s-te "Briallant" !!!! Mr McKenzi you're an amazing guy - juste because its so easy for you to do that actually tell how skilled you are. Thank you, i'am excited to finish still 1H53min up to the end.

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

      Yet not a mention of my Super Mario speed run?

  • @DrNichelleDionne
    @DrNichelleDionne 3 месяца назад +1

    Thank you for this because I want to incorporate GitHub into my Python and C++ courses.

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

      You are taking both Python and C++? That's like learning how to drive a go-cart and a Formula 1 car all at the same time.
      Stay safe from all those pointers in C!

  • @VladimirJovana
    @VladimirJovana 13 дней назад +1

    all those scratches on his hand must be from github branches search. perfect video, btw, thanks a lot

    • @cameronmcnz
      @cameronmcnz  12 дней назад

      I've got a cat that thinks it's a tiger. Glad you enjoyed the video. And I'll be smart and play with the cat with gloves on.

  • @roselinenkemasong723
    @roselinenkemasong723 5 месяцев назад +2

    Thank you so much. It was pretty easy for me to understand this lesson. I’m glad I stumbled on it

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад

      I'm glad you stumbled on it too! Truth be told, I cover a lot of topics and get to advanced topics pretty quickly compared to other tutorials. If you kept you, then you're pretty much a Git expert now!

  • @scrumtuous
    @scrumtuous 7 месяцев назад +3

    Wow, I'm not sure if there's anything in that Git and GitHub tutorial that wasn't covered! Learned a lot.👍

    • @cameronmcnz
      @cameronmcnz  7 месяцев назад +1

      Thanks for all your help with the videos and editing!

  • @Ayoub-there
    @Ayoub-there 13 дней назад +1

    Thank you for this amazing course !

    • @cameronmcnz
      @cameronmcnz  13 дней назад

      All the praise goes to Git and GitHub for creating amazing products. All I did was click some buttons and talk into am mic. But having said that, thanks so much for the kind words. It feels great knowing that you enjoyed it!

  • @KiriasuiSao
    @KiriasuiSao 14 дней назад +1

    Great tutorial; I learned a lot. Thanks!

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

      Thanks for the kind words! I really enjoyed putting this together. Lots that I've learned about video editing and stuff since, plus a few things I might add to make Git and GitHub easier to learn, so with motivational comments like this, I'm inspired to do an update and make it even better.
      Thanks for watching!

  • @frodobe_tbaggin3146
    @frodobe_tbaggin3146 3 месяца назад +1

    Great course, really enjoyed it!!!

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

      Git and GitHub are pretty awesome tools when combined. It make doing this video super-easy. Thanks for watching!

  • @AdelaGega
    @AdelaGega 5 месяцев назад +1

    I love your way of teaching, easy & interacting. Thank you, I learned a lot from you. Appreciate all your efforts!

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад +1

      Thanks so much for the kind words! Honestly, Git and GitHub make it easy, they're such awesome tools. I will say, I did have fun doing this Git and GitHub tutorial. Great to know you enjoyed it too!

  • @POWERTOKNOW
    @POWERTOKNOW 5 месяцев назад +2

    Hi Cameron thanks for this Quick Intro to GIT and GITHUB. Very Useful but i have a a small correction to suggest : At 40:25 you mention the git INDEX gets cleared after a commit but in reality the INDEX is not cleared after a commit rather its contents now matches the latest commit . Infact the files in the INDEX can be viewed by running the command : git ls-files --stage

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад

      Great comment. You’re 100% correct. I’ll try and choose my words better to account for that nuance. Thanks for keeping me honest!!!

  • @dharmindersingh7369
    @dharmindersingh7369 Месяц назад +1

    I love the way you explain sir. Really appreciate your work

    • @cameronmcnz
      @cameronmcnz  Месяц назад

      Thanks for the kind words! Things like that really motivate me to make more!

    • @dharmindersingh7369
      @dharmindersingh7369 Месяц назад

      Eagerly waiting for javascript tutorials 😊

  • @lucycat-p2l
    @lucycat-p2l 4 месяца назад +1

    Unlike other courses, yours was easy to follow. Thank you.

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

      That's very high praise, as there are lots of Git and GitHub courses and tutorials out there. I really enjoyed making this video, and I do hope my enthusiasm shows.
      Thanks for watching and subscribing!

  • @musthavechannel5262
    @musthavechannel5262 6 месяцев назад +1

    Great teaching method there. You picked a very simple and effective method of naming the files using a familiar system avoiding extra cognitive load of remembering file creation order etc.
    Looked like a quickie at the end but stash makes it really useful when you want to stash changes in a file rather than the whole file.
    Great tutorial nonetheless. Thanks for providing it for free.

    • @cameronmcnz
      @cameronmcnz  6 месяцев назад +1

      Thanks! I honestly enjoyed putting together this git and github tutorial, and I've used these examples many times over the years and they seem to really hit home with people. And yeah, git stash was a bit of an afterthought, but it seemed wrong to leave it out.
      Thanks again for watching and commenting!

  • @stephanedemers2797
    @stephanedemers2797 5 месяцев назад +1

    Good learning again from this excellent training session!!!

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад

      Honestly, Git and GitHub makes it super. Two completely amazing tools!

  • @VolodymyrBoiko-dq8zp
    @VolodymyrBoiko-dq8zp 4 месяца назад +1

    Thanks Cameron, your work saved me time and gave me overall understanding on the flow of version control :)

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

      Thanks for the kind words! Any time I can make Git and GitHub easier to learn, I feel I've done my job!

  • @farazk9729
    @farazk9729 5 месяцев назад +1

    I love how you teach! You're very intelligent, both IQ and EQ (many tech savvy people lack the latter). You know not only what to say but also how to say... . Thank you so much, and new subscriber here :-D

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад +1

      Thank you for the kind words!
      I honestly really enjoyed putting this video together. It's great knowing people actually learned from it.
      Happy Git!

    • @farazk9729
      @farazk9729 5 месяцев назад

      @@cameronmcnz Haha! Yeah, it's like you're telling a story... with dialogues, monologues, the sequence of events, everything... and that's magic when it comes to teaching. Not everyone can do that... not everyone can tell a "story".
      Cheers all the way from Sydney, AU

  • @CamilleKleinman
    @CamilleKleinman 6 месяцев назад +1

    Your tutorials are super enjoyable (you're so funny lol) and SO helpful!!! You make learning all this stuff easy, fun, and not at all scary. :)

    • @cameronmcnz
      @cameronmcnz  6 месяцев назад

      Thanks for the kind words! I honestly had a lot of fun making this Git and GitHub crash course. Plus, I'm a big Devo fan, so any time I can say Devo it makes me smile.

  • @manojpriya6927
    @manojpriya6927 6 месяцев назад +1

    Amazing Cameron... Fantastic flow... Was struggling to put the pieces together.. This video has helped in bringing clarity. Thanks

    • @cameronmcnz
      @cameronmcnz  6 месяцев назад

      Thanks for the kind words! I've been teaching people about Git and GItHub for years and I've tried really hard to put things together in a journey that has a sensible flow, but at the same time, has sections that are very independent so you can jump in anywhere.
      Glad you enjoyed it and thanks for watching!!!

  • @lukajovanovic3656
    @lukajovanovic3656 Месяц назад

    Wow, what a clear way of teaching, well done , hats down sir!

  • @fraudude3841
    @fraudude3841 5 месяцев назад +1

    I want to know you that....this is the best git and github tutorial in RUclips,moreover I liked your teaching style.

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад +1

      Is this my Mom posting nice things again under a puppet account?

    • @fraudude3841
      @fraudude3841 5 месяцев назад +1

      Nope …student from india🤗

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад +1

      @@fraudude3841 Well thanks so much for the kind words of support. I really enjoyed putting this tutorial together. Once you understand the basics, Git and GitHub gets a lot easier!

  • @Rakeshs-eq3sj
    @Rakeshs-eq3sj 4 месяца назад +1

    This video is so engaging didn't get any distraction... Thank you for the video....

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

      Thanks for the kind words! I really enjoyed putting this Git and GitHub tutorial together. I'm glad you liked it.

  • @Kunaltwts
    @Kunaltwts 6 месяцев назад +1

    your teaching is amazing only to the point

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

      You're too kind! I'm so glad you enjoyed this Git and GitHub tutorial!

  • @user-qr4kt7dh4m
    @user-qr4kt7dh4m Месяц назад

    Amazing Git and GitHub tutorial for beginners like me!

  • @nareshshah2094
    @nareshshah2094 2 месяца назад +1

    Very good video. I I learn lot.

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

    Thank you for these lessons from Russia You're a very cool teacher.

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

      Don't stroke his ego! 🤣

    • @cameronmcnz
      @cameronmcnz  Месяц назад

      Thank you so much for the kinds words. But Git and GitHub really make it easy. Regards from Canada!

  • @elinaratv
    @elinaratv 18 дней назад +1

    Thanks for the 2x speed recommendation

    • @cameronmcnz
      @cameronmcnz  18 дней назад +1

      I"m here for ya! 🤣And I never want to waste anyone's time. (Thanks for viewing!)

  • @daisymccarty7822
    @daisymccarty7822 Месяц назад

    Really make it easy to learn Git and GitHub!

  • @MaksimVasilenko
    @MaksimVasilenko 6 месяцев назад +1

    Thanks Cameron! Very useful information about git.

    • @cameronmcnz
      @cameronmcnz  6 месяцев назад

      Thanks! I really enjoyed putting this Git and GitHub tutorial together!

  • @Yeager_say
    @Yeager_say 4 месяца назад +1

    Very helpful

    • @cameronmcnz
      @cameronmcnz  4 месяца назад +1

      Thanks for watching and subscribing!
      I had a lot of fun putting this together. GitHub makes Git a heck of a lot easier!

  • @ye-xionlin6976
    @ye-xionlin6976 5 месяцев назад +1

    This vedio is so brilliant

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад

      Well, it's Git and GitHub that's brilliant. I'm just the conduit.
      Thanks so much for watching!

  • @ssingh2k8
    @ssingh2k8 5 месяцев назад +1

    Love the way you teach ❤

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад

      Thanks for the kind words! Sometimes I wonder if I'm wasting my time doing these tutorials. Feedback like this inspires me to keep producing.
      I really enjoyed putting this Git and GitHub video tutorial together!

  • @redwansikder3847
    @redwansikder3847 6 месяцев назад +1

    Thanks for this great tutorial.

    • @cameronmcnz
      @cameronmcnz  6 месяцев назад

      Thanks for the kind words! Trying to really up my RUclips game for 2024!

  • @Wiseman..
    @Wiseman.. 4 месяца назад +1

    Thank you for the quality content

    • @cameronmcnz
      @cameronmcnz  4 месяца назад +1

      Thanks for the kind comment!

  • @user-zu8gx5pq3f
    @user-zu8gx5pq3f 5 месяцев назад +1

    perfectly explained

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад

      Thanks for the kind words! This was one of my funest videos to do.

  • @abhishekkashyap2206
    @abhishekkashyap2206 5 месяцев назад +1

    its great tutorial

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад

      I'm glad you're enjoying it! I had a lot of fun putting together this git and github tutorial. The two tools work so seamlessly together!

  • @wildanm2589
    @wildanm2589 7 месяцев назад +1

    thanks a lot for your tutorial video, it helps me

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

      My pleasure. Have fun working with Git and GitHub!

  • @TheIntrovertsDebrief-lq4hg
    @TheIntrovertsDebrief-lq4hg 3 месяца назад +1

    I always thought when we “add” a file to the staging area, it’s more because we need to bundle up certain files that we want to include into the upcoming commit.

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

      I don't think you said anything wrong there. Did I say it differently, because you're correct?

    • @TheIntrovertsDebrief-lq4hg
      @TheIntrovertsDebrief-lq4hg 3 месяца назад +1

      @@cameronmcnz no you’re right. I misunderstood and jumped the gun a bit with my comment. Git is so confusing to me but damn this course is really good. I didn’t know the difference between fetch and pull before and it’s starting to make sense. Also, the visual guide is amazing

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

      @@TheIntrovertsDebrief-lq4hg Oh, Git can really be overwhelming. But there's a real elegance to it, and once you kinda know how the pieces all fit together, you really start to understand how the whole Git thing works. I really enjoyed doing this tutorial, and it's great to hear others getting something out of it!

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

    Fantastic!👏

  • @TheIntrovertsDebrief-lq4hg
    @TheIntrovertsDebrief-lq4hg 3 месяца назад +1

    I understand that git checkout is not recommended. So what should be used for if you want to be on a specific commit of a branch? For example, a tester might need to test something on an older commit. In VSCode, there is a “checkout” option for that. But is there another way?

    • @cameronmcnz
      @cameronmcnz  3 месяца назад +2

      I think checkout will still be used for times when an actual 'checkout' of something is needed. As of now, I don't think you can switch to a specific git commit, while with checkout it's a core feature.

  • @chocollinscho4637
    @chocollinscho4637 5 месяцев назад +2

    i dont know what to say am not confused anymore thank u mc

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад

      Best way to start a weekend hearing that I've helped someone begin to learn Git and GitHub as much as I do!
      Thanks for the kind words. It makes my day!

  • @TheIntrovertsDebrief-lq4hg
    @TheIntrovertsDebrief-lq4hg 3 месяца назад

    So am I right in saying that we can also add an SSH key to be able to push to origin without needing to sign in each time?

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

    Good video
    You didn't mention anything about SSH keys

  • @fraudude3841
    @fraudude3841 5 месяцев назад +1

    could you make shell tutorial too??

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад

      You're thinking more of a pure Git tutorial that just works locally with Git and focusses on core Git commands? It's not a bad idea.

  • @rahmanmusah4470
    @rahmanmusah4470 5 месяцев назад +1

    i'm looking for this tutorial .
    i hope to find my savior here. 😂

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад +1

      I hope you enjoy it! I enjoyed putting it together.
      It moves pretty fast, as my viewers tend to want to jump right in and get working with the technology. If there's anything that's unclearly, just let me know!

    • @rahmanmusah4470
      @rahmanmusah4470 5 месяцев назад +1

      after typing
      git push origin
      the reply i get is
      remote: Permission to Abdul-Rahman/my-project.git denied
      fatal: unable to access "..." The requested URL returned error 403
      what am I doing wrong, sir?

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад +1

      @@rahmanmusah4470 That's a credential issue. 403 is security, so Git doesn't like your username and password. And in fact, it can't be your password. You have to generate an auth token for GitHub. If you're on Windows, it might sign you in with your browser, but if that's happened before, Windows Credential Manager might have an old Git username and password.
      Does any of that make sense?
      ruclips.net/video/m5SChqEi314/видео.htmlsi=i96wTEOtVnNhATVg

    • @rahmanmusah4470
      @rahmanmusah4470 5 месяцев назад +1

      @@cameronmcnzokay
      lemme try again after watching the explanatory video.
      thanks, sir.

    • @cameronmcnz
      @cameronmcnz  5 месяцев назад

      @@rahmanmusah4470 Good luck. There are a number of issues you can run into so let me know how it goes!

  • @farazk9729
    @farazk9729 5 месяцев назад

    18:23-18:29 :-DDD

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

    chael sonnen????

  • @hatelovebowel4571
    @hatelovebowel4571 25 дней назад +1

    you are so handsome and so smart at the same time which makes me so hot. i love seeing hot guys teaching me coding!

    • @cameronmcnz
      @cameronmcnz  25 дней назад +1

      Get in line, princess. Get in line.