Git Pull Requests explained - Computer Stuff They Didn't Teach You #5

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

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

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

    This is pure gold! Scott, you are the Bob Ross of programming. Big concepts come through but you make it look and feel easy and make it understandable, and your tone of voice pace of teaching are just right to make sure it sticks in the grey matter. I would gladly pay for this material and you have it presented for the cost of watching a 20 minute video. Thank you! You have an upvote and a new subscriber!

  • @jamers.99
    @jamers.99 4 года назад +36

    I've done git for years and I know it like the back of my hand, but I still watched this, not sure why :D Scott's just too good!

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

      Same here, guess I expect to learn something anyway :).

  • @KenanCasey
    @KenanCasey 4 года назад +139

    I’d love to hear your explanation of merge vs rebase.

    • @andersborum9267
      @andersborum9267 4 года назад +7

      I agree with this suggestion. The rebase part always came across as a quite dangerous command and I’d like to learn more about it.

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

      Upvoting!

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

      I second this one

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

      Go go go!

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

      upvoting this

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

    One of the best 20 minutes I've spent learning about the confusing parts of git pull. Subscribed and thank you.

  • @KingKong-bn3hp
    @KingKong-bn3hp 3 года назад

    I used git for years, this is the best explanation of 'Pull Request' that I've ever heard. Easy to understand, intuitive... Superb!!

  • @ok_tim
    @ok_tim 4 года назад +17

    This is an amazing tutorial. As a git newbie I appreciate and look forward more.

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

    you teach the stuff in the simplest way and I've learnt a lot from you. thanks a lot...

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

    Scott you're the man the way you explain git in these 2 videos are value than a whole course . Thank Bro made it so much clear now .

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

    This video is about pull request from a maintainer perspective. Please make a video about pull request from a contributor perspective.
    Suppose I forked a repo and clone it in my local machine. After that create a new branch to start coding. In this time my local git repo's remote will be my forked version. How to create an upstream remote to the original repo so that I can pull changes made in the original repo while I am working on my forked version?

  • @pabloide86
    @pabloide86 4 года назад +9

    Thanks Scott!! I love these videos because even if you already know this stuff you also learn how to transmit that knowledge!! It is really hard to teach and this serves as a guide on how to approach it!! 👏

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

    Thank you Scott.
    PS: I'm Italian and I usually use english subtitles. While I was watching this video, after a while I realized that I didn't activate them and I was just listening :)

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

    As always, great job explaining the nitty-gritty of Pull request with clarity. Thanks a lot, Scott!

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

    Excellent work ; clear , concise explanation with just the right depth for newbies and experiencedies looking to renew their knowledge ! Thanks so much !

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

    Very helpful. Git and GitHub has been a bit of mystery to me, but your videos are very easy to follow. Much appreciated.

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

    You explain everything very clearly. It's a pleasure to watch.

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

    Thanks Scott- it’s always a pleasure to listen to you. I learned something new today!

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

    Great video Scott. I have used TFS for years and just started to learn Git so that we can migrate from TFS to Git in the near future. These videos have been very helpful to get my mind wrapped around how Git works.

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

    Excellent video! It's a good idea for people learning the concept of "git pull", to understand that it's doing a git fetch followed by a merge.

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

    Awesome Git series Scott! You make things easy to comprehend. I really appreciate you calm manner of going over all the tiny aspects. Keep up with the great work on your channel;.

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

    Scott, you have a great skill to simplify ...born teacher !

  •  4 года назад

    It’s so great to see that this guy has a great teaching skills. Understanding him is so easy. Everything makes sense.

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

    Excellent series! The simplest way to explain Git indeed! Thanks a lot Scott.

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

    Daam!! for the first time I really understand what I'm doing when (poorly) using Git. Thanks, man. Very didactic, the way I appreciate as someone who loves to teach others too.

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

    Excellent. Great to see both the command line and what the "short cuts" do.

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

    Thanks Scott for another git video. I learnt about PullRequests and what's going behind when we pull/review/merge requests in the repository from another user. 👌

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

    Awesome tutorial. Never got to learn properly about pull requests until now.

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

    I never understood the fork thing! Thank you very much for the video! I love how you explain how to do it on command line.
    Thanks!

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

    Great tutorial for beginners - love the great explanations without dropping into unnecessary git-speak

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

    Thank you so much. As an ex TFS user and GIT newb, this was super helpful.

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

    There videos have been seriously helpful! I've been tied to relying on the likes of GitKraken, but understanding how this works on the cli has been something I've wanted to learn. Your way of teaching it has surpassed all others, and I can't thank you enough. :)

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

    I didn't know what Fork means before watching this video.
    Thanks for this great explanation, Scott!

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

    Thanks for the great videos, particularly these about Git. You have been able to net out the information I need to get started and productive while giving me enough understanding to get more in-depth info should I want/need it.

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

    This is great. I like your approach to presenting and explaining. More Git please!!

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

    Now I'm waiting for your next video on git rebase. Your way of explaining is really good. It puts the thing in right place in my mind 👍

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

    Amazing series Scott, please continue, thanks!!!

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

    Thanks Scott! I really hope to see more videos on git. Specifically, an explanation of rebasing and stashing. Also, a video on using git as part of the code review process - performing reviews of PRs and commits to branches before they are pulled into main - would be very much appreciated.

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

    Thanks for these videos! Perfect timing since I spent part of this last weekend learning git, or at least some of the basics and this was a great way to reinforce what I lean along with helping with some of the concepts!

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

    I just learning git and you're video make it easier. Thanks Scott

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

    Thanks for taking the time to do this!

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

    Great refresher of git basics. Well explained! If only we could have a tool like git for real life, we would be able to revert to 2019. We could squash all of 2020 , cherry pick the good parts of 2021 and have a patch ready for 2022

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

    couldn't find an easier explanation, you did an awesome job explaining Git! many thanks :)

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

    Thanks Scott! Starting to clear the cobwebs of using Git again. :)

  • @AbdulMannan-jz7zm
    @AbdulMannan-jz7zm 4 года назад +1

    Thank you Scott great series. looking forward to seeing FF merge and rebase stuff.

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

    As always, great job with the explanation. Thanks, Scott!

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

    Thank you Scott. You make things so simple.

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

    This is a great video, still a newbie to coding and Git and this and the previous video have been Very helpful thank you

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

    Thanks! I vote to keep going with the Git videos (if you have time). Seeing day-to-day, real-world type scenarios is helpful. Things like how a dev team handles merge conflicts when working on multiple feature branches or how code reviews can be done locally prior to committing to the main (master). Great Videos! Much appreciated.

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

    Thank you, Scott! This will be so helpful to so many people!

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

    Thanks Scott really well explained. You are a great teacher

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

    This, as well as the previous video are so amazing. I have been using using Git for past few months and have heard about branching and pull requests - but they always felt scary for some reason. So I simply did add, commit, push - that's what all Git was to me. These videos really showed me how useful these features are. I am already thinking of ways they can enhance my workflow. Can these be used as effectively with Jupyter Notebooks as with regular Python scripts though 🤔. Thank you so much...:)

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

    HI Scott ,excellent video ,really helpful .Just one quick question ,after maggie forks branch and makes change ,how does she send pull request for you to review ?

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

    This is one git tutorial that I can understand easily. Thank you so much.

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

    Hi Scott, fist of all, thank you for sharing with us, newbies, your knowledge! Do you think regex is a good topic for a next video?

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

    Thanks Scott, another great explanation 👍

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

    excellent video, your style of explaining makes complex things easy, Thanks a lot

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

    There is not mistakes, only happy pull request, the Bob Ross of computer stuff xP

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

    Thank you Scott, your videos/lesson are amazing.

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

    Nice video... Eagerly waiting for squash and rebase video

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

    This channle is a knowledge gold mine

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

    Thank you very much for your channel, Scott!. Your explanations are very clear, and I appreciate your disposition to help other people. Keep going, please! :-)

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

    I think we should all say 'thank you' to Maggie.

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

    Would also love too see rebase vs. merge. Working with stashes and Tags. Please and thank you. Great video's.

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

    I posted this in the wrong video... funny because is to ask you "how to undo things XD", I'll share it here, where it belongs.
    Hi Scott!! It would be very useful if you explain how to "undo things" at the different levels. I mean, back to the state the code was before execute "git add", before "git commit", before "git push", how to fix mistakes when is already merged in the upstream, how to remove things from the history of upstream (e.g. when accidentally you upload a secret). Thank you!!

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

    You are super awsome scott. Thank you so much for the effort you put.

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

    A teacher who makes sure that you understand.

  • @sanjeev-shrestha
    @sanjeev-shrestha 4 года назад

    @scott both Git 101 and this pull requests were great vids. we are planning to move from TFVC to git in near future and one thing we are struggling or trying to understand is the branching strategy. could you do one of your future videos regarding your recommended branching strategy?

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

    I'd love to hear more about github, PR templates, compulsory PR reviews and actions

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

    I believe in friendly names, so the suggested main branch name in GitHub should be a random first name. "Merge your branch into Lisa", (or Bob), would be more fun to say than "main" XD

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

    Thanks Scott. Theses videos are very helpful

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

    @scott could you also made some changes in the branch from maggie and commit it so she sees the commit ?

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

    You beamed me up, thanks!

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

    your videos are like asmr but with education

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

    The millenials say "Smash that like button and hit the notification bell" lol
    BTW Great video explaining the use of git in a command line. Very beginner friendly...
    I had experience with Tortoise Git. It makes using git a lot better if you don't want to learn it using the cmd.
    But in the end, that is how Tortoise does its work in the background...

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

    Hi Scott,
    Would you be able to make a video on using a single static instance of the HttpClient in a C# application and in particular, cover off how numerous async methods can apply their own different settings (timeouts, headers, auth) without impacting each other? Can this be done?
    Would appreciate it.
    Thank you for the great content !!!

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

    Hi scott, i like your video. I have question, if i were in a feature branch, and i want to do a pull request, do i need to do a ```git pull origin main``` first to minimze conflict in pull request?

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

    Hi Scott , thanks for making this git series.
    i'd love to know your take on git branching model or Gitflow workflow. i want to learn how it's applied and works in production. An explanation video would be great

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

    your explanation is simply awesome :-)

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

    Great videos ... I've passed the first one on to several folks. I would love to introduce this video to teams I work with, but they are using Azure DevOps, and they don't use forks. I know git on Azure DevOps is passe (good luck finding Microsoft demos these days acknowledging it exists) but an alternate, dare I say "parallel" video using Azure DevOps would be awesome. Keep up the great work.

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

    Nice and accurate as always, Scott! Thanks!

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

    @scott, love your videos man!!! Keep 'em comin! Thank you!

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

    This is awesome..
    Thanks for the newbie friendly tutorial :)

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

    I wish you make 100 -1000 $ from RUclips per month.
    You are doing good work.
    Thanks for all of this.

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

    Excellent tutorial, subscribed!

  • @a-r-m-i-n
    @a-r-m-i-n 3 года назад

    "Fast Forward only" strategy saves you a lot of mess in your git log! No matter if you use pull requests or git natively.

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

    Hi Scott, how do you get the colored git-related text on your terminal?

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

    Goog topic, but can you focus on hard stuff? It is all quite clear and simple in your examples, but people are paying for 50$ for the Fork(git client), it will be interesting to know what is so hard to achieve in VS code that you need to pay 50$(quite a large sum) to solve a problem.

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

    Suppose Maggie deleted her branch because you have now incorporated her feature into main. What does she need to do to update her local copy of main? Does it depend on how she created her fork? Is it automatic, or will she need to row through some gears?

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

    What if we didn't fork it? Would it be possible to create a pull request if we just made a total copy of original rep and then just uploaded to our github account.
    Or we have to fork something to be able to create a pull requests?

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

    Thanks for a great explanation of pull requests. I am used to a centralized source code system (Subversion). With git, could a team commit to a cloud repository without using pull requests? How might team development work with git in a non-open source model?

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

      You COULD commit directly but ideally you'd do work in branches and someone (?) would merge them in as appropriate. Google for "GitFlow"

    • @junior.santana
      @junior.santana 4 года назад +3

      With git, commit and push are two different steps, whereas in Subversion we generally just commit our work and we're done, it's available to our colleagues.
      In git we commit (or rather, merge from another branch) on our *local* repo and then *push* our changes to the *remote*.

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

    Can you do a complete tutorial of how you got your powershell to look like that? I tried to follow your old video and I broke my prompt.

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

      Ok I’ll do a video. What broke?

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

      @@shanselman I couldn't get the font to go through. So I kept getting weird looking symbols.

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

      ruclips.net/video/lu__oGZVT98/видео.html here you go

  • @d.s.h6629
    @d.s.h6629 2 года назад

    thank you Scott ! you deserve more than likes !
    thanks again :)

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

    Subscribed! Thank you for this video!

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

    Thanks Scott, great video!

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

    your videos are very helpful indeed . I just recommend if you can raise your voice a bit.

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

    what customized terminal is this?

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

    Thanks Scott! Very helpful!

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

    Great tutorial and explanation

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

    Nice content, thanks Scott

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

    Awesome explanation!

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

    Super useful video. Keep going :)