Тёмный

Git & GitHub Tutorial for Beginners #9 - Merging Branches (& conflicts) 

Net Ninja
Подписаться 1,6 млн
Просмотров 453 тыс.
50% 1

Опубликовано:

 

9 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 208   
@arijitgayen4674
@arijitgayen4674 5 лет назад
"Yeah! I'm terribly original!" You rock....And these tutorials are just awesome....
@mysterOrel7924
@mysterOrel7924 5 лет назад
ahahah I just made a comment like this without seen yours
@hyfytale9577
@hyfytale9577 5 лет назад
"... now I want you to imagine that some upstart new at the company has decided to just make edits on the master branch. Yep, those people do exist." This is where I cracked. XD
@ozzyfromspace
@ozzyfromspace 3 года назад
Lol he basically called me out 😂😭😂 what can I tell ya... noobs will be noobs 😭👽😌😂
@codedynamics1
@codedynamics1 3 года назад
😂
@davidrimoch9080
@davidrimoch9080 Год назад
That was funny, but jokes a side, if I'll make changes in other branch, feature-d, and then merge it to master, wouldn't it have the same result as someone who made edits in master? For the next person that want to merge to master, wouldn't it be the same? Maybe it's just less safe? Help me out here😅
@hpottstock
@hpottstock 7 лет назад
Thanks man. All my fears about starting with git have disappeared. Ready for the github videos now! Cheers!
@pitter6282
@pitter6282 3 года назад
me too i'm scared of that sht
@Nellak2011
@Nellak2011 3 года назад
Me too. Ever since I made my own repo and have been consistently making changes to it, it has been getting easier and easier. I now am starting to understand different concepts. It is alot easier than I thought it was in my mind.
@mangekyourinnegan9
@mangekyourinnegan9 2 года назад
Thank you very much for the clear explanation! Even 5 years after this tutorial is still relevant
@NetNinja
@NetNinja 2 года назад
Great to hear, thanks Jose!
@benfrese3573
@benfrese3573 2 года назад
@@NetNinja I second that. Still useful!
@equim7363
@equim7363 Год назад
@@benfrese3573 that's because git hasn't changed much
@peterinvestor
@peterinvestor 6 лет назад
When I started with GIT, I was one of those people who were updating directly master :D until everyone was complaining :D
@nicolevitalli8665
@nicolevitalli8665 4 месяца назад
when the person who made the tutorial has a accent like this you know the tutorial will be good
@mysterOrel7924
@mysterOrel7924 5 лет назад
"Yep i'm terribly original" that's why you're easy to follow !! Love you Sensei from Sénégal
@mahamadounouridinemamoudou9875
"and we don't do it in the text editor we do all in the terminal" 😅 just for have fun. you have the best explanation, thank you for this tutorial
@NetNinja
@NetNinja Год назад
Thanks! 😃
@erichepperlewp
@erichepperlewp 2 года назад
@The Net Ninja: I just found this tutorial when I was trying to understand a good workflow and common use case for branches and merging. And I must say you are one of my favorite RU-vid instructors in the way you explain everything step-by-step! Keep up the good work!!
@Hacking-NASSA-with-HTML
@Hacking-NASSA-with-HTML Год назад
Gold. Pure gold! I was so scary to touch that area of git! And now everything clear! Thank you, Ninja!
@DTX_
@DTX_ 4 года назад
I had to do my first merge into production code and I watched this video to make sure I don't f* it up! Thanks man, I love your videos.
@jayrocks09
@jayrocks09 3 года назад
"And we don't do it in the text editor, we do it over here" always gets me! Lol Thanks for this bro!
@voychoi9923
@voychoi9923 2 года назад
you did a great job at simplifyng this issue with those branch names and examples
@theartist8835
@theartist8835 4 года назад
we love you Shaun. I am very appreciative of what you do for us! keep up the fantastic work.
@leonelnascimento5078
@leonelnascimento5078 6 лет назад
Don't understand why that dislike on the video... Best explanation ever, very detailed. :)
@Ahmed-od3sp
@Ahmed-od3sp 5 лет назад
@The Erudite it has 1 dislike now. Not a complaint, rather an observation
@standm6130
@standm6130 5 лет назад
OP didn't show how the Merges worked in the Master branch.. That is a fail, if you ask me. TD
@aaqibsoomro5776
@aaqibsoomro5776 4 года назад
@@Ahmed-od3sp 23 dislikes now
@hectord.7107
@hectord.7107 3 года назад
Probably a master branch developer and his friends
@Grovermol
@Grovermol 3 года назад
Thanks dude, i really enjoyed the explanation, "Yup, those people do exist" jaja indeed they do
@janekalam
@janekalam 4 года назад
By far the best tutorial on Git. Thanks a lot man!
@n3ttx580
@n3ttx580 2 года назад
I was so confused about how to resolve conflicts in files, VS Code also makes it a little more intimidating with different functions, messages and whatnot, but this helped me to understand what it actually all does, how it happens and how to resolve them. Thank you!
@bogdanmihalciu9711
@bogdanmihalciu9711 Год назад
I enjoy your short funny and very informative videos. you truly are a legend :D
@NetNinja
@NetNinja Год назад
Thanks Bogdan! :)
@EricAbroad
@EricAbroad 2 года назад
currently a Master branch updater. Cant wait to master Branches and Merging. Thanks mate!
@SKMINSARR
@SKMINSARR 2 года назад
I think you solv my issues. great video btw
@AnthonyWatsonMWArts
@AnthonyWatsonMWArts 5 лет назад
Two thumbs way up for this! Thanks for clearing up a lot of confusing tutorials.
@nexusfriends1134
@nexusfriends1134 6 лет назад
By far, the best explanation on this. 3rd video I had to watch since the literature Im going over was blurry on my head. Subscribing now.
@caglayang5348
@caglayang5348 2 года назад
Finally great explanation.
@royalflush13
@royalflush13 5 лет назад
You are a truly gifted instructor! I recently purchased a udemy course on git and GitHub, however the explanations on it weren't that great. I'm probably gonna refund that course cos your course is so much better. And it's free! P. S. If you do make a udemy course on this I'd definitely purchase it
@ivanyoed
@ivanyoed 3 года назад
You could also support him on patreon www.patreon.com/thenetninja
@chapreljohnvillegas8539
@chapreljohnvillegas8539 6 лет назад
"You get this scary screen again". Thanks dude. Always the best.
@hosseinjavan137
@hosseinjavan137 3 года назад
best teacher ever
@codedynamics1
@codedynamics1 3 года назад
that little "upstart" damn him ! Touching things he's not supposed to ! anyway im glad he did otherwise you wouldnt have done a video on it ! thanks ninja really enjoyed it👏 ...." mumbo jumbo " 🤣😭🤣
@biniblissful6274
@biniblissful6274 4 года назад
Oh my, you really are awesome! Thanks.
@othmanederrar1997
@othmanederrar1997 2 года назад
You are amazing Bro keep it up
@Tracks777
@Tracks777 7 лет назад
Great stuff :)
@abhishekvtatachar2541
@abhishekvtatachar2541 2 года назад
Dude, this tutorial is awesome!! I found just what I needed. Thanks man!!
@priyanshukatuwal
@priyanshukatuwal 10 месяцев назад
You are the best! Thank you sooo much!!!
@NetNinja
@NetNinja 10 месяцев назад
Glad it helped! :) thanks for watching
@pawel80
@pawel80 2 года назад
Thanks for your tutorials, are very helpful.
@NetNinja
@NetNinja 2 года назад
Awesome to hear that and thanks for watching, Paweł
@AkshatSinghania
@AkshatSinghania 3 года назад
thanks for the tutorial, you should have a billion subs, but you have only 693 omg , nice video
@santi.delatorre
@santi.delatorre 2 года назад
just great tut 👏straightforward and easy to follow. new sub :)
@neiledwarddelacruz9419
@neiledwarddelacruz9419 2 года назад
your tutorials is always detailed, easy to understand and very helpful
@yogeshbhatt388
@yogeshbhatt388 4 года назад
straight up knowledge, no bullshit
@fabio__reis
@fabio__reis 2 года назад
Your explanation was fantasic, sir! This is definitely not very simple stuff but you made it seem like a breeze to do, really appreciate it :)
@MinisterGold
@MinisterGold 6 лет назад
Very simple merge conflict tutorial. Thank you.
@orenjibeat
@orenjibeat 2 года назад
It was me. I was the upstart. I exist. Thanks for showing me the error of my ways
@onyinyechichukwuma689
@onyinyechichukwuma689 2 года назад
Bloody hilarious and educational video. I love it, thanks! 🙃
@raisama4314
@raisama4314 Год назад
This was very helpful. Thank you very much I hope you also make video on more advanced git
@NetNinja
@NetNinja Год назад
Thanks Rai! :)
@issajohn8003
@issajohn8003 7 лет назад
Thanks for these tutorials. You're a lifesaver!
@erichepperlewp
@erichepperlewp 2 года назад
#HepperleVidIndex 1:39 - Merge branch into master: 1) git checkout master; 2) git merge branch name 3:46 - Resolving merge conflicts: 6:26 - "Automatic merge failed" 7:40 - Fix merge conflicts (in the applicable files) then git add .; git commit
@yt-sh
@yt-sh 2 года назад
You saved so much of time, thank you!
@Calibike
@Calibike Год назад
This is very useful and very clear
@NetNinja
@NetNinja Год назад
Thanks Calibike, glad to hear that! :)
@togax5
@togax5 4 года назад
I really like your explanation. Very useful. Thanks for this great video.
@juliorodriguez8091
@juliorodriguez8091 4 года назад
Thanks, man, this really helped me.
@adamwoolf9993
@adamwoolf9993 3 года назад
Super helpful and clearly explained. Thanks.
@abdullahmoiz8151
@abdullahmoiz8151 4 года назад
Thanks a lot explained in a simple and concise manner
@fadif8818
@fadif8818 5 лет назад
Very helpful video.. You presented your material in a very clear way.. Thanks!
@mayamaya-wb6zl
@mayamaya-wb6zl 4 года назад
best to the point tutorial
@hamzasabir6053
@hamzasabir6053 4 года назад
Great and simple explanation, thank you!
@kabinpoudel4707
@kabinpoudel4707 4 года назад
Love the way you explain.
@sarahjuliagushef7755
@sarahjuliagushef7755 4 года назад
I love your explanation. Please make a video about rebase, and compare it with merge. Thanks
@zzzanon
@zzzanon 6 лет назад
@4:20 "Yup, those people do exist", fucking lol
@turalsadigov4490
@turalsadigov4490 4 года назад
Thanks a lot for these tutorials. Really helpful
@ab3d69
@ab3d69 4 года назад
"git branch" does the same as "git branch -a". i used to use "switch" instead of "checkout" to walk to different branches :) . plus, "git checkout -b " is equal to "git switch -c "
@_isaac_muniz_
@_isaac_muniz_ 3 года назад
Thanks again. Great lesson!
@calebstevens8269
@calebstevens8269 3 года назад
Just started my firsty game jam and learning to use git at the same time. I am that intern :)
@jacobokomo1880
@jacobokomo1880 3 года назад
That upstart, lol. -anyways, Thanks the Net Ninja, you saved me a lot.
@notjustanyuser
@notjustanyuser 4 года назад
Wonderfully explained. Thanks
@ashokthejab9713
@ashokthejab9713 3 года назад
Thank you! for making it simple.
@andrew.schaeffer4032
@andrew.schaeffer4032 Год назад
Great explanation! Thanks
@NetNinja
@NetNinja Год назад
Thanks Drew :)
@bahaeddinebenamieur9404
@bahaeddinebenamieur9404 3 года назад
You're a game changer
@charleskangai4618
@charleskangai4618 4 года назад
Thanks. Very helpful.
@TheMegaman161
@TheMegaman161 5 лет назад
Thanks a lot man, this stuff used to confuse the hell out of me.
@matheusjordan6031
@matheusjordan6031 Год назад
Nice video, very helpful!
@NetNinja
@NetNinja Год назад
Thanks matheus!
@NeelSandellISAWESOME
@NeelSandellISAWESOME 4 года назад
This is very cool stuff
@pedromatoso279
@pedromatoso279 3 года назад
Thanks for this great explanation
@nadjibm7
@nadjibm7 Год назад
awsome ! thank you i wish u all the best
@NetNinja
@NetNinja Год назад
Thanks for watching Nadjib!
@Dylan-cm1br
@Dylan-cm1br 3 года назад
Thank you :)
@rafik.arif.83
@rafik.arif.83 4 года назад
Excellent tutorial
@chelsirawat3336
@chelsirawat3336 4 года назад
Had a query, what if there are lots of files in which we made changes, even then we will have to remove those extra lines manually?? #please_answer
@srivatsajoshi
@srivatsajoshi 4 года назад
Nicely Explained. 🔥🔥
@johnnyb9974
@johnnyb9974 4 года назад
great video! Helped a ton. Awesome channel name!
@NetNinja
@NetNinja 4 года назад
Thanks 😀
@andriibilych4983
@andriibilych4983 4 года назад
You are a good man! Thank you
@abishekkachroo938
@abishekkachroo938 5 лет назад
or you can merge it using bash and then after opeining that file using VScode and it will give 3 options apply local chnages apply remote changes Apply both This will come usually when you are facing these type of issue , Code in the master branch (which would be in remote) would be different or you can say step ahead of you .
@MrViciousway
@MrViciousway 4 года назад
Thanks a lot, that was straight forward.
@RichardHoman9009
@RichardHoman9009 5 лет назад
So, if there are two people who've each made a branch to work on different features need to commit back to master because they're done with their features and they happen to have modified the same files, would that not be the exact same scenario? Wouldn't whoever happened to finish first become the "upstart" in the video despite doing it the way they were supposed to?
@coderkashif
@coderkashif 10 месяцев назад
sooo smooooothhhhhh
@andreabarbieri9518
@andreabarbieri9518 Год назад
just started my first job and i did commit on the master branch , hahaha yes those people do exist ..ME !! 😁😁
@FitnessChaos
@FitnessChaos 4 года назад
very good video dude
@jeroenj7494
@jeroenj7494 5 лет назад
Useful and a life saver!
@sidisidahmed755
@sidisidahmed755 Год назад
i have a question why don't you use git push after commit ? is it for educational matter or what ? thank you by the way for the videos they are perfect clear and straight to the point
@rodrigo-vl7bi
@rodrigo-vl7bi 5 лет назад
this was so useful, thank you sooo much
@jaiswalaman
@jaiswalaman 3 года назад
Thanks Man!
@nerosonic
@nerosonic 4 года назад
nice tutorial I learned a lot!
@vishnu_bhatt
@vishnu_bhatt 5 лет назад
Best explanation. ☺
@rtzstvn
@rtzstvn 5 лет назад
great video!
@hitanshimehta430
@hitanshimehta430 4 года назад
Thank you so much for video!!
@kranthikumar5215
@kranthikumar5215 3 года назад
great man
@KevinTempelx
@KevinTempelx 3 года назад
Thank you!
@JustinPaulGT
@JustinPaulGT 4 года назад
excellent job!
@zakaryalaarrague
@zakaryalaarrague Год назад
wonderful
@k4piii
@k4piii 4 года назад
you should definitive use displayfusion or any program similar to specify an area for each window
@istamosh
@istamosh Год назад
On 2:48 mine shows merge made by the 'ort' strategy, upon searching on their documentation it says Ostensibly Recursive’s Twin which basically replaces 'recursive' strategy but faster.
@oliverbrianbarravasquez9071
@oliverbrianbarravasquez9071 6 лет назад
Great tutorial bruh!
@vinodp7508
@vinodp7508 3 года назад
this is best...!!
Далее
Resolve Git MERGE CONFLICTS: The Definitive Guide
8:02
Git & GitHub Tutorial for Beginners #8 - Branches
10:07
Git MERGE vs REBASE: Everything You Need to Know
4:34
Просмотров 395 тыс.
Git Tutorial For Dummies
19:25
Просмотров 1,1 млн
How to be a git expert
46:26
Просмотров 158 тыс.
Git Branching and Merging - Detailed Tutorial
54:28
Просмотров 205 тыс.
Git merge and git conflicts
39:37
Просмотров 20 тыс.
Git MERGE vs REBASE: The Definitive Guide
9:39
Просмотров 110 тыс.