Git Rebase Vs. Merge

  Рет қаралды 107,484

Colt Steele

Colt Steele

Күн бұрын

Пікірлер: 147
@eltonjoshua5517
@eltonjoshua5517 3 жыл бұрын
Hey Colt, it's been a while, excited to see you posting courses again. Hope you're doing well :)
@chiragkhandelwal9178
@chiragkhandelwal9178 3 жыл бұрын
Finally he got his KZbin password 😂
@michellejefferson9232
@michellejefferson9232 3 жыл бұрын
Your new git course is great I just purchased it yesterday. I'm familiar with the simple use cases for git but this course really takes git to another level for me.
@som.shekhar
@som.shekhar 3 жыл бұрын
The first thing I did when I woke up today is checked my email, found Udemy's notification about your new GIT course and I immediately bought the course. I had no plans of learning GIT, but I just love the way you teach, its amazing. And its my fourth course by you. I have learned a lot from your courses. BIG BIG THANKS!!
@dudeshamus1451
@dudeshamus1451 3 жыл бұрын
The Return of the King
@RameenFallschirmjager
@RameenFallschirmjager 3 жыл бұрын
Welcome back Colt. You have a very special place in my heart. You helped me to jump start my career with your great courses.
@Hermis14
@Hermis14 Жыл бұрын
This is the clearest explanation of the two commands I have seen on YT. Thank you!!
@aldoburbank
@aldoburbank 8 ай бұрын
This is one of the better treatments of Git Rebase (that I have seen). Perhaps it is so well done that it can accomplish the goal of demystifying rebase for most people to embrace it instead of maintaining a position why they don't believe in it.
@akashnandan8253
@akashnandan8253 2 жыл бұрын
Hey colt , Thanks for all the courses . I started web development with your course on udemy and ever since loved development and coding . Haven't had an instructor on udemy who actually responds to queries and helps out . Just wantrd to thank you for the amazing course you put out there for new engineers
@taqmobile
@taqmobile Жыл бұрын
Thank you so much for this video. I've checked a handful of websites and videos about these two and still had no idea what I was doing. You made this very easy to follow
@sunguru981
@sunguru981 3 жыл бұрын
Was it just me, or did someone also felt that Colt is a fan of Marvel's WandaVision @ 7:25. Sorry, but just couldn't stop thinking this haha. Jokes apart, big fan of your work since 2016 :)
@mauricioocon7839
@mauricioocon7839 3 жыл бұрын
Hi Colt, I'm currently taking your Git course and it is great, I want to point that I love your slides so far, they are concise and beautiful. I think they help a lot to improve my learing. Thank you!
@gaychin8654
@gaychin8654 Жыл бұрын
Best git merge vs git rebase explanation I have found on YT!
@NaserMohdBaig
@NaserMohdBaig Жыл бұрын
I am a simple guy, I see Colt's courses, I buy them. I owe my livelihood to his simple explanations and great tutorials.
@carolpark
@carolpark 3 жыл бұрын
Happy to see you posting a new video! If possible, please continue to post more videos. We missed you. Hope you are well and safe!
@Chron1cles31098
@Chron1cles31098 3 жыл бұрын
Hey Colt! Currently restarted your Udemy Web Developer Bootcamp and saw that you had it updated for free. Thank you for that. You could have totally made a whole new course and charged separately (which still would be fine to do), but you didn't. So cheers!
@thEstRonG3r
@thEstRonG3r Жыл бұрын
Hey, So i haven't yet finished the whole video, but maaan, this was the best video i have seen about merge vs rebase. Not just that, but the explanation alone is great, very good job.
@chrisanderson1513
@chrisanderson1513 Жыл бұрын
The visuals are crucial, thank you!
@shivashankarreddythatipart3811
@shivashankarreddythatipart3811 3 жыл бұрын
Bought the course already,Thank you colt. Can we expect any typescript course in near future?
@AngelosTeou
@AngelosTeou Жыл бұрын
Best video on Git I have seen so far on KZbin.
@yordanstoyanov9166
@yordanstoyanov9166 3 жыл бұрын
What a gem! Colti, please update your React Course. Much love x x
@kyleronayne6445
@kyleronayne6445 Жыл бұрын
Best explanation I have seen on KZbin. Thanks for putting this out here!
@KOFFrus
@KOFFrus 3 жыл бұрын
the best video about the topic on KZbin
@nikhilgoyal007
@nikhilgoyal007 2 ай бұрын
thanks! great video - finally understood why rebasing can be dangerous (always read that but did not know why).
@XlON___
@XlON___ 3 жыл бұрын
My man with a new video. It's good to see you're finally back. Cheers!
@frangimenez770
@frangimenez770 3 жыл бұрын
Thank you so much for this video! I was a little bit lost on which command use to merge two branches and as you said, rebase can be a little scary. This video cleared all my doubts. Again, thank you so much!
@lllevokelll
@lllevokelll 3 жыл бұрын
My problem with rebasing is that the high volume rapid changes by multiple developers that make merge history muddled, are exactly the same kind of high volume rapid changes that make rebase a nightmare of there being an uncomfortably high likelihood someone has starting working off a commit that the rebase will disappear, making an awkward mess of things. The set of situations where rebase is useful but not dangerous are usually limited towards cleaning up a solo project or lower velocity small collab with one perpetually slow dev, vs addressing a swarm of parallel dev team work. Imho. Edit: also this tutorial and explanation were extremely well done. I am about to explore the course to see if I should recommend it to my teams newer devs for their next invest in yourself learning day. Great pacing, great visual diagrams.
@sahaneakanayaka3394
@sahaneakanayaka3394 3 жыл бұрын
Thank you for the git course... Love your courses and tutorials Colt 🙂🙂🙂
@arestlessmind780
@arestlessmind780 3 жыл бұрын
Great description, would love to buy the course when it goes back around 9.99!
@Maribobah81
@Maribobah81 3 жыл бұрын
Welcome back, we've been missing u. Thanks for the course, already bought it
@meritocratos
@meritocratos 3 жыл бұрын
For last month I’ve been watching your developer Bootcamp on Udemy and it’s great. Thank you)
@heel57
@heel57 Жыл бұрын
great video - nicely fluent and paced. Would have loved the font a bit bigger in Kraken.
@pratyushshivam5335
@pratyushshivam5335 3 жыл бұрын
Thankyou for being active and uploading new videos for us ✨ I'll definitely watch it.
@pcimring
@pcimring 2 жыл бұрын
Wow! A really superb video that simplifies a complex and confusing topic. Well done!!!
@emmanuelfabiani8435
@emmanuelfabiani8435 3 жыл бұрын
Hey Colt, always very excited when you release new stuff! I think you're one of the most invaluable content creator.🙏🙏
@kavitakhandelwal5022
@kavitakhandelwal5022 2 жыл бұрын
Such a helpful video! I was struggling for the explanation from a long time now. Couldn't understand from other resources! Thanks a lot! :)
@waldolemmer
@waldolemmer 3 жыл бұрын
I LOVE your videos! They're super clear. 18:50 - "don't rewrite history that other people have" Does that mean I shouldn't push a branch up if I plan to rebase it when I'm done?
@ajjitsabat9786
@ajjitsabat9786 2 жыл бұрын
you can still push but then after rebase you have to force push again but make sure no one else is working on the same branch
@guilhermecampos8313
@guilhermecampos8313 Жыл бұрын
Very good explanation. Gonna keep an eye for you course. Gold material here.
@remkeschuurmans8970
@remkeschuurmans8970 Жыл бұрын
very clear explanation of the difference between merging or rebasing .. +++ Thanks for sharing
@impooser
@impooser Жыл бұрын
Straightforward, simple, understandable. Thanks.
@akhilnegi100
@akhilnegi100 3 жыл бұрын
Watched multiple videos around Rebase vs Merge. Definitely would love to buy git course on Udemy soon. Thanks Colt
@abelkalu5992
@abelkalu5992 3 жыл бұрын
Hello Colt, it's really nice having you as a teacher, you are amazing. Please Colt I would love to know if you are planning on making an update on your advanced web dev bootcamp, please I would love a reply tothis as I want to get the course to finish up my web dev to-learns.
@mashab9129
@mashab9129 3 жыл бұрын
the best instructor - bought the course on udemy. thank you Colt.
@batmanasdasd
@batmanasdasd 3 жыл бұрын
Hey Steele how are you doing? Loving your beginners web dev course. I'm 14w
@sulekhagupta9019
@sulekhagupta9019 Жыл бұрын
After messing up so many times here i am solving everything on my own.
@jamesamo6962
@jamesamo6962 Жыл бұрын
The explanation is awesome. Great work :)
@tonycaravello4869
@tonycaravello4869 3 жыл бұрын
I've never really understood what the rebase command meant, until now 😄 thank you
@victortech3300
@victortech3300 3 жыл бұрын
Hey Colt how are you doing , glad that you are back to relishing videos on youtube 😊, congrats on your web developer bootcamp course on udemy 👍😍
@bobo0612
@bobo0612 Жыл бұрын
its a fortune to watch this video for free, thank you!
@muneebsami
@muneebsami 3 жыл бұрын
Bro, did you forget your youtube account password or something?
@maplestoryinchinese
@maplestoryinchinese 3 жыл бұрын
Can't believe he gave away the course for free!!
@surfinbird71
@surfinbird71 3 жыл бұрын
Just bought the course. I look forward to hitting it hard.
@aramayis_mirzoyan
@aramayis_mirzoyan 3 ай бұрын
The best explanation, thank you!
@AnthonyCassidy50
@AnthonyCassidy50 3 жыл бұрын
The image @ 12:00, illustrating a Rebase, is confusing because the bottom chain is labelled with both "Master" and "Feature". It would be clearer if that page showed the status of (before and after of) the master branch (ie it stays the same), and (the before and after of) the feature branch, ie its base is changed, but the commits between the tip and the base stay the same (like your excellent audio commentary says)
@ironman5180
@ironman5180 2 жыл бұрын
Great video! Nicely explained. Nice figures. Good wrap up.
@SoftwareTestSolutions
@SoftwareTestSolutions 3 жыл бұрын
I just love the approach and explanations. Thanks for the video!!!!
@Himanshu445
@Himanshu445 Жыл бұрын
Very helpful video and excellent represntation. Easy to understand. Thank you very much🙂
@nchatu
@nchatu 2 жыл бұрын
A nice and clear explanation.
@stevestrobel1678
@stevestrobel1678 3 жыл бұрын
Resetting master to undo merges is a nice way to demonstrate that the same effect can be achieved with rebasing. But (unless I am mistaken), you can't similarly undo a rebase. In a trivial example with no conflicts, that isn't a big deal. But if a merge gets really messy, you may not have the information needed to redo it and compare the results (unless maybe it is in the reflog).
@froxx93
@froxx93 Жыл бұрын
Great video! Really well explained. Thanks a lot.
@mareimorsy3182
@mareimorsy3182 2 жыл бұрын
Thank you ... This is the best rebasing explanation so far
@PrettyPennyClub
@PrettyPennyClub 2 жыл бұрын
Very useful explanation of these two similar techniques. 👍
@wwhill8033
@wwhill8033 3 жыл бұрын
Great video, thanks and welcome back!
@vivianeb90
@vivianeb90 3 жыл бұрын
This is such a good tutorial! Thank you for this amazingly clear explanation.
@gehanadel3616
@gehanadel3616 Жыл бұрын
I like this explanation so much
@tecHSonic
@tecHSonic 3 жыл бұрын
any new courses coming up? btw your presentations have super awesome designs as always
@MrQVeeBoo
@MrQVeeBoo 3 жыл бұрын
Thank you this one is the best clearest.
@richardingwe5211
@richardingwe5211 3 жыл бұрын
Colt, we missed you!
@ChwisKay
@ChwisKay 2 жыл бұрын
can't help but notice you've spent "hours of work" on a BAR... sounds like the best life to me!
@Palundrium
@Palundrium 2 жыл бұрын
If neither branch's history is "rewritten" with new commits at 9:25, why does git log show two new commits under master after merging at 9:00?
@user-zb5jp4ti1d
@user-zb5jp4ti1d 3 жыл бұрын
Hi Colt, would be you be able to do a video on KZbin or your udemy course about Git Large File Storage; i have a file over 50 MB that i push on to GitHub and I keep getting a warning; it would be great if you could break down Git LFS... not a lot of helpful videos on the same. Thanks :)
@murugarajuperumalla5508
@murugarajuperumalla5508 Жыл бұрын
super cool way of teaching, keep it up. 🙂
@heel57
@heel57 Жыл бұрын
1) git switch feature; 2) git rebase master; I find it very confusing that the wording of the (2) is "rebase onto master" and not "rebase master onto feature". What is the logic here?
@fezk3573
@fezk3573 3 жыл бұрын
Awesome video Colt! I'm about to finish the web development bootcamp and its being amazing, you made me love web development! Thanks for the fantastic work!
@tan2cang93
@tan2cang93 3 жыл бұрын
nice vid. and I see you are using new git command like switch instead of checkout. Now I am trying to use new command in order to separate the purpose. that's cool man
@misterchef4239
@misterchef4239 3 жыл бұрын
Colt, create a WebAR course on Udemy. There's a lack of AR courses, so you should break it! Or if AR apps, do with React Native. There's high demand!
@IgorogI1000
@IgorogI1000 2 жыл бұрын
reaaally good explanation
@SergioGallego
@SergioGallego 8 ай бұрын
Loved the video, bought the udemy course :D
@mihaideta9800
@mihaideta9800 3 жыл бұрын
nice tutorial, but dude can you do somthing about the add, i mean after they play the video restarts from 00.00 its annoying
@fabricedelannay7288
@fabricedelannay7288 3 жыл бұрын
It was very clear, thanks !
@nico6465
@nico6465 2 жыл бұрын
Great video, i 'm gonna add your course on my udemy wish list ! Thank you for this awesome explanation :)
@rico.worship
@rico.worship 3 жыл бұрын
Best explanation out there
@mahesh113
@mahesh113 Жыл бұрын
Well explained. Thanks!
@jkjoker777
@jkjoker777 2 жыл бұрын
Best freakin explanation, thanks
@mistwire
@mistwire 3 жыл бұрын
Yay! You switched to vscode! ❤
@iftakharhussain
@iftakharhussain 3 жыл бұрын
It's good to see you again.
@nasrullahaljadid9135
@nasrullahaljadid9135 3 жыл бұрын
Sir, when you launch the Machine Learning course on udemy? I'm waiting for this course for a long time.
@prudhvichinnam1488
@prudhvichinnam1488 3 жыл бұрын
Colt please do videos on KZbin 😎🙏
@jd_addy
@jd_addy 3 жыл бұрын
Great teaching!
@HologramJay
@HologramJay 2 жыл бұрын
This might be a dumb question, but why not just pull the additions that were added to the master branch while you're on the feature branch? Wouldn't that give you the most recent commits made by the other co-workers?
@binitrupakheti4246
@binitrupakheti4246 2 жыл бұрын
You cannot exactly pull them because the latest commit hash of the feature branch has changed. You merge main into feature to pull the commits instead.
@petedookway5989
@petedookway5989 Жыл бұрын
Very goood explanation. thanks
@motif5775
@motif5775 3 жыл бұрын
Thank you for that great tutorial...I learned a lot!!
@fatihhguvenn
@fatihhguvenn 4 ай бұрын
If only 1 person works on features then it's better to rebase feature but always merge into master right?
@mohanant7557
@mohanant7557 Жыл бұрын
Great explanation
@teethnclaws
@teethnclaws 3 жыл бұрын
Already got it, the moment I got the email ;)
@masturdOfTheUniverse
@masturdOfTheUniverse Жыл бұрын
Question, I think you answered this but I want to be sure. If I am working on a feature branch that I have merged into main at some point in the past and it now has new commits that main does not, should I never rebase on that branch again? Since main branch already has some commits from the past from feature, wouldn't any future rebase mess up the history by replaying that entire feature history on top of main that already has commits? This is what is confusing and leads me to think that branches other than main, once merged, should be destroyed to prevent a future rebasing with now shared history.
@love_tacos
@love_tacos Жыл бұрын
I think you're absolutely correct here; I'm currently looking closer at the Warning (at 18:24) and i'm parsing the message of the warning. It seems like the point of rebase is to put all the commits OF A NEW FEATURE BRANCH at the front of the main/master branch history. Those commits are essentially "line-hopping" to the front of the line.....like a family of Karens jumping to the front of the line at Space Mountain. This way, when the PR is eventually merged, it'll be a fast-forward merge onto the remote repo. The warning seems to warn against rebasing commits that are already on the remote main/master. Which would happen if you re-open an old branch after it's been dormant for a while. Though that's just my interpretation as of right now.
@tetley3737
@tetley3737 2 жыл бұрын
Good explanation 👍
@sumankumary
@sumankumary 3 жыл бұрын
Awesome. Thank you so much.
@al-du6lb
@al-du6lb 3 жыл бұрын
Will you do a tutorial on neovim and all the amazing plugins? I see people using it and it looks awesome.
@kiwinesss
@kiwinesss 3 жыл бұрын
I bought it ... on section 4 already :)
How to be a git expert
46:26
Floating Little Leaves of Code
Рет қаралды 160 М.
Git Branching and Merging - Detailed Tutorial
54:28
SuperSimpleDev
Рет қаралды 208 М.
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,4 МЛН
Dozzle | Web UI For Monitoring Docker Containers
12:58
Retro Mike Tech
Рет қаралды 15
Learn Github in 20 Minutes
20:00
Colt Steele
Рет қаралды 442 М.
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 95 М.
How To Squash Your Git History Like A Pro
13:09
Colt Steele
Рет қаралды 54 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,1 МЛН
Git merge and git conflicts
39:37
Hitesh Choudhary
Рет қаралды 21 М.
Introduction to Git - Branching and Merging
28:48
David Mahler
Рет қаралды 487 М.
Git Pull Requests explained - Computer Stuff They Didn't Teach You #5
21:10
Git rebase basics
15:01
Team Programmer
Рет қаралды 12 М.