Git Branching and Merging - Detailed Tutorial

Sdílet
Vložit
  • čas přidán 6. 06. 2024
  • Learn Git branching and merging and use it with GitHub in the feature branch workflow. Branching and merging are powerful features of Git and GitHub that allows teams to work simultaneously in a project. Once you learn branching and merging, you'll be at a professional level of Git and GitHub.
    Part 1 of this Git and GitHub tutorial:
    • Git and GitHub - 0 Exp...
    Part 2 of this Git and GitHub tutorial:
    • Git and GitHub - 0 Exp...
    Git and GitHub cheatsheet:
    supersimple.dev/courses/git-g...
    Premium Courses:
    🎓 Get a certificate for our courses with premium learning experience & support SuperSimpleDev! ❤️
    HTML CSS Premium Course: courses.supersimple.dev/cours...
    JavaScript Premium Course: courses.supersimple.dev/cours...
    0:00 Branching
    1:42 Branching example
    11:31 Merging
    19:23 Merge conflicts
    27:26 Feature branch workflow
    37:51 Update local repository after merge
    40:27 Merge conflicts in feature branch workflow
    48:52 Resolve merge conflicts on our computer
    Contact: supersimple.dev/feedback
    Behind the scenes: / supersimple.dev
    Latest updates: / supersimpledev
    #git
    #github
    #gittutorial
    #learntocode
    #codingtutorial
    #webdeveloper

Komentáře • 332

  • @vk19148
    @vk19148 Před 8 měsíci +66

    please don't skip ads...he is working really hard to make us understand

    • @Juanfu224
      @Juanfu224 Před 2 měsíci +4

      I have adblocker but i put mi like and comment to help to the algoritm

    • @paragggoyal1552
      @paragggoyal1552 Před 2 měsíci +1

      but i am a premium member

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

      @@paragggoyal1552 I Think if you are premium they get a cut directly -- > So no worries for that :)

    • @lightningknight1090
      @lightningknight1090 Před měsícem

      But the creator turned off the ads

    • @DheaFadlia
      @DheaFadlia Před 2 dny

      I don't, I use youtube premium 😅

  • @BamItsHazel
    @BamItsHazel Před 4 měsíci +12

    Amazing 3 part tutorial. Simple enough for anyone to understand, really broke down a seemingly complex subject. Thank you for saving my university life. And props to myself for self-learning, and to anyone else that reads this comment too!

  • @buzzht
    @buzzht Před rokem +21

    I have followed all 3 videos in this series and it's been a great learning experience.
    The pace, the examples, the explanations everything is just perfect.
    Would definitely recommend to all my colleagues.
    Thank you so much.

  • @santiagoaristi2808
    @santiagoaristi2808 Před 2 lety +6

    Really enjoyed learning with this tutorial! I feel like I have a better grasp on git and github. The explanations on merging and branching really were explained in simple terms where someone that is new to tech can understand. Thanks for this video!

  • @slatercolt
    @slatercolt Před 4 měsíci

    DUDE! Thank you, I just finished your 10 video playlist as of this video and I intend to watch the rest of the videos that you have uploaded! Super grateful for these, I'm already a software engineer but this is improving my engineering literacy and competence so much!

  • @longnhat6405
    @longnhat6405 Před rokem +11

    You are a lifesaver! Your HTML CSS course is amazing, and you also made an incredible video! Keep going our community needs people like you. I really appreciate that!

  • @ahmedoutalebna9270
    @ahmedoutalebna9270 Před 8 měsíci +3

    this is one of the best tuto in branching and merging in youtube, great work

  • @VishalKanwar-nv3po
    @VishalKanwar-nv3po Před 7 měsíci +2

    It was Absolutely AMAZING. Exactly the stuff I was looking for. I was tired of only the basic intro to git videos. You did an awesome job explaining the team workflow and how it should be used. ♥

  • @batchrocketproject4720
    @batchrocketproject4720 Před 2 lety +59

    Thank you for taking the time to do such a thorough job. This is gold dust to those of us who work on our own and only really need to use basic branching. It is refreshing to have someone who clearly routinely works in a team explain how developers manage different streams. I wish your channel all the success it deserves.

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

      Thanks for watching! 😀 most of the time with Git, it's better to keep it simple

    • @an0n_amr
      @an0n_amr Před 10 měsíci

      @@SuperSimpleDev Thank you for those 3 simple Git explanation videos.
      literally from zero to hero

  • @zKiid
    @zKiid Před rokem +1

    By far the best teacher I've watched on CZcams. Thank you Simon.

  • @treequin
    @treequin Před rokem +1

    Thank you again for making these tutorials. I'm an aspiring programmer and after watching the three videos, I feel like I have a solid base to use both Git and GitHub (which baffled me so much before).

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

    I wish I could super-like this video.. so clear and concise, with amazing visual aids and examples - perfect!

  • @uzochukwu1556
    @uzochukwu1556 Před 5 měsíci +1

    Coming across your channel was one of the best things that happened to me on CZcams. I've learned from your HTML and CSS video, your JavaScript videos, and then this. I am working on a project with my friend and my knowledge of Git was murky, but because of how well you explained everything in this 3 part course, I clearly understand how to use GitHub. Thank you for this, you're truly making a tech career possible for anyone.

  • @user-wf9el1lt1o
    @user-wf9el1lt1o Před 9 měsíci +2

    This is such a detailed, helpful, and easy-to-understand video teaching git. Love it! Thanks so much!

  • @shohruhrustamov3449
    @shohruhrustamov3449 Před 5 měsíci +1

    thanksssss, simon, i saw so many git tutorials, but this one is the best, i spent 3 months(i know it is too long) to understand how git works and had no success, but you explained it in 3 videos, thank you very much

  • @polikaify
    @polikaify Před rokem

    Thank you so much! I am very new to coding (let alone Git and Github) and trying to set up the system to link between files on my PC to the Github. I was searching around, reading through probably more than 20 sources in the timespan of days. None really worked for me. Your video is the answer! I really appreciate your help and sharing the knowledge. Please continue the great works, we need you.

  • @cooper24
    @cooper24 Před 2 lety +28

    Thank you! I'm a solo developer and I was having a hard time coming up with a solid workflow. Your video really helped me figure out what I want to do.

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

      I'm happy it helps! Usually I create a branch and merge it in even when I'm working alone since it gets me into the habit, and also it's easier to review my code using the Pull Request process on GitHub

  • @user-vf8jr2yf7y
    @user-vf8jr2yf7y Před 9 měsíci

    You are one of the reasons which made me confident that, I can program like a pro and things that seem complicated aren't hard, just a good teacher can make it look easy.

  • @bombdotcomist
    @bombdotcomist Před rokem

    CS student at Illinois here, exceptional tutorial man. Better than anything showed in class. Thumbs upped for sure.

  • @valdenicio22
    @valdenicio22 Před 2 lety

    I'm not even a native English speaker but the way that you explain everything is easy to understand. Also, that work experience that you've been adding to the videos, really adds a lot of value. Thanks for sharing that. Subscribed++.

  • @shreyasnair7949
    @shreyasnair7949 Před rokem +2

    This is the best tutorial for branches Available on CZcams

  • @josejaimefelixgarciagarcia8884

    Finally found a video that explains the conflicts. The examples are great. I hope you can teach us what happens when it has conflicts in multiple files.

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

    This is one of the simplest and best explained git tutorial I have come across. You keep things simple. You walk through simple scenarios and then build up to more complex scenarios. Very well done.

    • @SuperSimpleDev
      @SuperSimpleDev  Před 2 lety

      Thanks for watching! I'm happy you're able to understand the explanations!

  • @user-th1zt8ed1z
    @user-th1zt8ed1z Před 7 měsíci

    I've watched all 3 parts and I reaaally learned a lot. As a freshman in university majoring in computer science, your courses taught me what I won't learn from the university classes. It's well-organized and I have no problem with your clear English even though I'm not good at English. Thank you!!!

  • @angsh
    @angsh Před měsícem +1

    Clean! Accurate. Thanks for being so clear and clutter less. Brilliant guide.

  • @Superswallow
    @Superswallow Před 2 lety +9

    Best tutorial ever. Very easy to follow from start to finish. I had zero knowledge on git but now im confident with the syntax and workflow of how to use git. My internship coming up and I can’t wait to apply on a real project. Looking forward to more tutorials. I’m truly grateful and indebted to you. You deserve 1M subs!

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

      Thanks for watching! That's awesome, hopefully when you start using it on the job, it will be a lot easier to see how and why git is used

  • @fadygamilmahrousmasoud5863
    @fadygamilmahrousmasoud5863 Před 5 měsíci

    I think this is the best video talking about branching and how to work daily using Git, Thanks man.

  • @aleksandar7463
    @aleksandar7463 Před rokem

    Great course! Extremely valuable input for someone who is about to start working in collaboration with other developers.

  • @betrandndah6862
    @betrandndah6862 Před 2 lety

    This is the best Git tutorial I have ever watch. Good job mate

  • @ParleysWoodedJourney
    @ParleysWoodedJourney Před rokem

    This Git series is awesome. Now to do some practicing. Thank you so much. I'm sharing this with my team.

  • @franciskhoury4288
    @franciskhoury4288 Před rokem

    SuperSimpleDev and @IAmTimCorey are saving my sanity. After years of being the "IT guy who doesn't understand the fundamentals behind the stuff he works with", I have been making a effort to educate myself in my spare time to begin cracking open the black boxes I work with day after day. I have mapped a course of learning as suggested by Tim in one of his videos, and so far, I have been very pleased with the SuperSimpleDev courses I have completed...starting with HTML5/CSS3 and now Git Fundamentals. The latter has already made a big difference in my ability to complete a project. Thank you, SSD; you are an excellent teacher!

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

    Thank you sir...I have watched your all 3 part series on Git and I dont think anyone would have been able to explain minutely the way you did it...Thanks I am feeling more confident now on using Git and also to face interview questions , before this I used to mug up the commands but didn't knew the actual background of it..

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

      Thanks for watching 😀 yup all the git commands we use serve a purpose and once we understand that it’s much easier to know what to do. That’s interesting, I actually haven’t encountered Git questions in an interview though (other than they ask me to download a project repo from git to work on)

  • @LittleVidds
    @LittleVidds Před rokem

    Just finished all three Git and Github videos! Loved your teaching method, would definitely appreciate a course or video about testing :). Thanks for this helpful course!

  • @ukpkmkk8409
    @ukpkmkk8409 Před rokem

    Really appreaciate what u have done for those vids, i have watched all the git tutorial that u have posted, i gotta say that they help me alot, thank u again from the bottom of my heart!!!!

  • @rahulsaxena392
    @rahulsaxena392 Před 4 měsíci

    Very crisp and clear explanation of Git from scratch. Thanks a ton . Need more videos on other topics please like CI/CD Jenkins , Microservice etc.

  • @movsesaghabekyan9794
    @movsesaghabekyan9794 Před 6 měsíci +1

    Thank you very much it helped me a lot but I want to mention that its generally recommended to resolve conflicts on the branch where the changes were introduced to keep a cleaner and more organized history. Wish you all luck who reading this :)

  • @just_julia_things
    @just_julia_things Před 8 měsíci +14

    This 3-part video was such a thorough tutorial, you don't know how happy & excited I felt after finishing it & getting to apply it to my project. I know you made this two years ago, but I want to let you know that even now, you're still able to help aspiring devs learn through your videos. I've been gushing about you and your channel to my friends recently HAHAHA. I hope you and your channel gets the success it deserves!!

  • @keyvanpfannenschmidt
    @keyvanpfannenschmidt Před 15 dny

    Thanks mate thats an amazing tutorial. This made me less afraid of using branches. It was clear, precise and had the right pacing. keep it up!

  • @ranjeetnbittu
    @ranjeetnbittu Před rokem

    Great tutorial - very crisp and clear explanation with simple and relevant examples. Thank you so much for creating this tutorials. Keep giving your knowledge back to the society. Thanks 👍👍

  • @ahlambeyoud1709
    @ahlambeyoud1709 Před 8 měsíci

    No one ever explained git like you the best video on CZcams. million thanks to you 💖

  • @ENC77
    @ENC77 Před 7 měsíci

    Simon am such a slow leaner and am doing a career change at 46 doing full stack and l must say l almost quit until l watched your JavaScript tutorial! Now am confident l will master my program! You are such an amazing tutor and when you explain it's as if you were part of the JS and Git team when they came up with these programs! l guess all am trying to say is thank you!

  • @harrisonliang326
    @harrisonliang326 Před 10 měsíci +2

    This was the best Git and Github tutorial I've ever watched. I went through all 3 parts and did every example. I now have a much better understanding of how everything works. Liked and subscribed😎 Thank you so much!

    • @SuperSimpleDev
      @SuperSimpleDev  Před 10 měsíci

      Thanks for your nice comment! I am glad that it helped! :)

  • @yureshmajhi5208
    @yureshmajhi5208 Před rokem

    If you had never made this video, I would have never learned git or github. Best tutorial on youtube.

  • @lakshya209
    @lakshya209 Před 11 měsíci

    Wow, seriously thank you for taking out so much time for this. God bless you!

  • @SamiUllah-sh9rb
    @SamiUllah-sh9rb Před 8 měsíci

    I have never seen such great tutorial about git branching. Loved it❤🎉🎉

  • @arunv8338
    @arunv8338 Před 4 měsíci

    Normally i did give any comments... But this guy break my rules and pull my finger to type this ...
    This is absolutely amazing video.. its completely feel like Master level about branching and merging 💫💯

  • @johnvela1508
    @johnvela1508 Před rokem +1

    This course was amazing, thanks for everything!!!

  • @israelnoah18
    @israelnoah18 Před rokem

    Looking forward for more well explained videos on git, github and other software technologies such as this,Thanks

  • @VaurionX
    @VaurionX Před 6 měsíci +1

    Another great tutorial. Your explanations are so clear.

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

    Hello, as a younger developer from London your videos on HTML and css and GIT has so priceless to me and i wanted to say a big thank You.

  • @fredca7178
    @fredca7178 Před 4 měsíci

    This course was absolutely increadible. Thank you very much

  • @weixintoo5939
    @weixintoo5939 Před 4 měsíci

    Hi Simon, thank you very much for your git and GitHub tutorials. Before this, I always felt like git and GitHub were so intimidating, but you made them so easy to understand and I have learned a lot of knowledge from you =)

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

    you made it crystal clear. Thank you so much
    no one made it this simple to understand 😊

  • @chandru7651
    @chandru7651 Před 2 lety

    Explained exactly how any one can imagine when learning this branching and merging concepts..thanks for your work...

  • @juliealmer6383
    @juliealmer6383 Před 5 měsíci

    You are amazing! I went through all 3 videos and I went from being clueless on the command line and wanting to download/use VS Code to fully understanding. Now I just need more practice. Thank you so much for your clear and concise videos and please keep it up! I can't wait to learn more from your videos.

    • @SuperSimpleDev
      @SuperSimpleDev  Před 5 měsíci

      Thanks for watching! I'm happy you found it helpful

  • @faroukbello164
    @faroukbello164 Před rokem

    You are the real MVP, thank you very much. We hope to see more amazing content in 2023.

  • @Hunkeykung
    @Hunkeykung Před rokem

    Damn you are a natural teacher. Thank you. The teachers at my coding bootcamp should take notice. I felt so dumb not understanding this and you explain it so well. Apparently I made it way more complicated in my head.

  • @lakshman587
    @lakshman587 Před rokem

    This was the exact video I was searching for!!
    Thank you so much!!!!

  • @marcdkun19
    @marcdkun19 Před 2 lety

    Thanks. I last used git in 2018. I needed this refresher. This is the part of git that really messes me up. Very clear explanation. Thanks thanks. More topics please.

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

      I’m glad it was helpful 😄 thanks for watching

  • @Tech-ub8dd
    @Tech-ub8dd Před 11 měsíci

    Thank you for this tutorial, its very professional , very clean and easy to follow!

  • @universal4334
    @universal4334 Před 6 měsíci

    This is really real stuff. This is what a software engineer does in daily life. Appreciate his work 👏 🙌

  • @shantkumarbiradar9255
    @shantkumarbiradar9255 Před 10 měsíci

    Just here to say, 'Thank you and much appreciated'!!
    You know how to explain concepts.

  • @yusufrahimov9160
    @yusufrahimov9160 Před rokem +1

    This tutorial is a great resource for learning about programming. Thanks

  • @ragavs1709
    @ragavs1709 Před 5 měsíci

    Got a real time organization experience!!! Thanks a ton

  • @judithukachukwu6434
    @judithukachukwu6434 Před rokem

    You are great teacher, I understood every bit of what you said. Thank you so much. Best video I ever watched

  • @edenng8431
    @edenng8431 Před 4 měsíci

    I am very new to git and github. Thank you so much for the great content. It is very helpful!!!

  • @zari_723
    @zari_723 Před 10 měsíci

    thank you for all 3 videos, you have great teaching skills and you explain everything perfectly 👌

  • @ConnyTangring
    @ConnyTangring Před 4 měsíci

    Excellent tutorial!
    Great work.
    Thanks.

  • @vector-wf7ly
    @vector-wf7ly Před 7 měsíci

    Thank you.
    It is easy to understand. Your teaching skill is great.

  • @kumarmahendra2611
    @kumarmahendra2611 Před rokem

    Thank you for creating this series..!

  • @mrashad_com
    @mrashad_com Před rokem

    I am very appreciative of this tutorial video; it has been immensely helpful.

  • @Vignesh-ho2dn
    @Vignesh-ho2dn Před 7 měsíci

    Thank you for such an elaborate video. It helped a lot!

  • @tundemikail5678
    @tundemikail5678 Před 2 lety

    I just subscribed to your channel. You made git branching & merging so simple, so i want to say thank you and keep up the good work.

    • @SuperSimpleDev
      @SuperSimpleDev  Před 2 lety

      Thanks for watching! I’m glad it’s easy to understand 😄

  • @nivena
    @nivena Před 10 měsíci

    Awesome, the three part tutorial has helped a lot

  • @ikelejiemmanuel655
    @ikelejiemmanuel655 Před měsícem

    This is so cool. Thanks Simon and bring more

  • @rendellsoberano8784
    @rendellsoberano8784 Před 6 dny

    I've learned so much in 1 hour. Subscribed Thanks!!!!

  • @stephikebudu
    @stephikebudu Před 6 měsíci

    Very detailed info! Thank you!

  • @AmanVerma-pm2dy
    @AmanVerma-pm2dy Před 3 měsíci

    Really nice and clear explanation. I was interning at a company last year, and I saw the feature branch workflow in action. I had a really difficult time understanding what was going on because it was all new to me, and as a result, encountering a ton of merge conflicts because other developers were making the changes to the same repo too. Most of the time I was merging branches here and there and as a result, sometimes even losing the work I did. After following along the video, I got over my fear of branches. I still am confused about why would we merge master to feature2 branch though instead of the other way around. I'll still need a bit of practise with this. All in all, really nice explanation!

  • @lakshman587
    @lakshman587 Před rokem

    Thank you soooooo much!!!
    I clearly understood the complete video!!!!
    Million billion trillion thanks to you!!!!!

  • @Thesadsadgame
    @Thesadsadgame Před 2 lety

    Incredible tutorial! Love your style.

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

    Extremely good thank you. Very practical. Super organized.

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

    The easiest git branching explanation !

  • @upendra4339
    @upendra4339 Před rokem

    Very helpful video. Many thanks!!

  • @merjentoylyyewa9438
    @merjentoylyyewa9438 Před 5 měsíci

    Very simple and detailed explanation saved my day❤

  • @abderrahmenekasmi2024
    @abderrahmenekasmi2024 Před 6 měsíci

    Thank you for this amazing course

  • @JoaoMachado55
    @JoaoMachado55 Před 2 lety

    Excellent, git branches merge finally makes sense to me. Nicely done

  • @casmironyeka1104
    @casmironyeka1104 Před 11 měsíci

    Your Platform is the best. I've watched all your videos and I can't wait to have more contents from you. You made learning Git fun. Thank You 👍

    • @SuperSimpleDev
      @SuperSimpleDev  Před 11 měsíci

      Thank you for your comment! I am glad that you like them :)

    • @casmironyeka1104
      @casmironyeka1104 Před 11 měsíci

      @@SuperSimpleDev I wish you could be active on your social media platforms like Instagram or Twitter.

  • @kurkov11
    @kurkov11 Před 4 měsíci

    Such a great explanation. Thank you.

  • @manumanjunath8928
    @manumanjunath8928 Před rokem

    Hello mate, thank you for such a wonderful explanation I enjoyed every bit of it. Keep uploading the videos in future whatever you do. once again thank you very much and god bless you🙂

  • @ericliu1114
    @ericliu1114 Před 13 dny

    Amazing video. Appreciate your effort.

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

    I like your style. No flash, no pizzazz. Subscribed.

  • @Mamur-cx5ih
    @Mamur-cx5ih Před 2 měsíci

    Hi Simon, congratulations on 400k subscribers

  • @robinwebster2754
    @robinwebster2754 Před 2 lety

    Fantasic video Simon! Thanks!👍

  • @nirajjoshi3349
    @nirajjoshi3349 Před rokem

    Superb tutorial, such kind of video is not available in you tube, you have done good job and justice with the topic. please create advance tutorial on topics like rebase and merge etc.

  • @yuoiujuiob5401
    @yuoiujuiob5401 Před 3 lety

    Analogies and visual explanations are top notch! I wouldn't be surprised if somebody one day came to You with a solid offer to be a teacher😄😄

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

      Thanks for your support!! I was going to notify you after the HD finished processing, but looks like you found this video anyway 😀 hahah I used to be a TA in college, I really enjoy teaching!

  • @ujjawalshrivastava1829

    Thankyou for making such a amazing and easy explanation in this tutorial for github again thankyou brother ❤️

  • @gkchowdary3543
    @gkchowdary3543 Před rokem

    Excellent video, It helped me understanding the Branching concepts..❤

  • @nanakomastu4354
    @nanakomastu4354 Před 7 měsíci

    Thank you for giving such a good class...

  • @Tracker_P
    @Tracker_P Před 3 měsíci

    Gem of a tutorial, thank you so much

  • @electric-lemonade
    @electric-lemonade Před rokem +2

    Thanks a lot, this was super helpful !