Not only is this a great instructional video, but David uses a solid pedagogical approach: he tells you what he's going to tell you, he tells you, then he tells you what he just told you.
Very true. Said what was in my mind. The fact that he keeps track of all the information for you shows how empathic he is. Leaves no room for ambiguity. No room for confusion. ❤❤❤ Thanks @DavidMahler Thanks alot.
00:59 start a new git repo 1:46 git commit -m "create S1" 2:08 git commit -m "create S2" 2:13 git log 2:35 what is branch 3:02 how is branch implemented 3:14 every *commit* has a *40 hex decimal sha-1 hash* 3:26 a *branch* is just a *pointer* toa sha-1 hash 3:43 the way git knows which *branch* we are on is a speical pointer called *HEAD* 3:49 *HEAD* 4:05 in git termonology, the *HEAD* pointer tells what we have *checkout* 4:27 git log --all --decorate --oneline --graph 4:30 when run this, we see the *commit graph* 5:05 create new branches 6:03 checkout and work on branches 6:12 git checkout SDN 7:04 demo 9:18 git commit -a -m "message" 9:21 -a option will stage and commit any tracked files that has been modified 9:499:53 integrate changes back into master 10:08 fast-forward merge 10:54 demo 11:04 *git diff master..SDN* 11:20 git merge SDN
I had exactly the same experience. Inferior explanations all over the web. This video tutorial takes longer than reading through stuff, but it's a surefire way to understand. Only direct P2P tutoring trumps David's video
others Git tutorials are not even close to this one.this is a masterpiece. i always had problem with git understanding and now i just love to use git professionally.Thx man
This video is far better than other tutorials where they just tell you commands and move forward. Language used is pretty simple and easy to understand.
Demonstrating what you're going to do with the graphical solution, then after; explaining it using the commandline is like the perfect method for teaching this subject.
@@DavidMahler please don't. It's preferred more knowledge in less time. That's the pause bottom for, so people can play it again and again. Your teaching was on spot.
Well finally! This is the first tutorial I've watched about git branch where I've actually understood what "detached head" means. More importantly, I finally got a clue as to how to resolve it. BTW: Presentation speed may be a little quick but personally, I'm ok with that; "pause" and "rewind" work pretty well.
Perfect explanation! I usually apply fast forward to the videos I see on youtube but this video has the right speed and also covers the topics perfectly. Thank you for your work
Best explanation of working with git branches I have ever come across. Reading git docs is like reading Chinese. Following this I actually now know what I'm doing. Thanks so much!
Thanks for such a clear cut and specific explanation of the different cases when branching. It's really helpful to know beforehand what to do if any problems arise when starting to use Git.
Who else went through this whole video without ever pausing the video and going back a few seconds to repeat something? Haha, just kidding! I stopped and went back so often, I spent almost 2 hours on this video, because this was a Very Useful Video. Thank you David!
Great coverage of the fundamentals, thank you. It's 15 years since I wrote any code in anger (ie, pre-Git), so this was a much needed primer to shake loose my SVN-based misconceptions!
You rarely find the perfect combination of quality and generosity on the internet. This is one of them. Thank you very much! I hope that at some point I can do this too!!
Perfect Illustration on fixing the merge conflict and detached head. Dear David, you are the best !!! appreciate your time for posting your know how and educating everyone here. Thank you !!
Single handedly the best git intro tutorial... I've been suggesting another video to students all this time and one of them just sent me this. Precise and to the point, easy to understand and simply what a tutorial should be.
What more can I ask, if you explained it better than anyone I've seen on RUclips and.. AND.. added all the used commands in the description. You're a blessing.
11:54 deleting branches 12:33 git branch -d SDN 13:18 there is no direct path from the master branch to the auth branch => 13:27 3-way merge 13:30 3-way merge 14:04 demo: git merge auth 14:16 the output does not say fast-forward merge like last time 14:29 git branch --merged 14:51 *merge conflicts* 16:32 17:33 demo: git merge dev 20:27 *detached HEAD* state 21:27 another way to handle detached state 21:36 put a new branch label 22:30 git stash
1:00 - Creación de un repositorio 5:04 - Creación de ramas 10:08 - Fusión FFWD 11:54 - Eliminación de ramas 13:30 - Fusión a tres bandas 14:49 - Conflictos de fusión 20:25 - Detached HEAD 22:30 - Stash
Before I watched this video, "detached head" message struck terror in my heart, but no more. Many other points of confusion and frustration have been resolved.
Really clear explanations, great visualizations and clean walk through of carefully picked examples, professional sound and screen, no distractions, flawless speech and neutral voice. More of that!!
Awesome explanation ... Every time I read and watch stuff about git I end up with so many questions. But you cleared all my doubts in 30 minutes and now I am so confident in using git. Thank you so much
The three videos on Git gave me a clear understanding of Git. Out of all other sources I had looked for (including Coursera courses), this is the best. Thanks David.
Thank you so much. I'm a tech writer that has never been a programmer trying to translate this stuff to a busy client. This and your core concepts video were lifesavers!
Very good continuation of previous "Core Concepts" video. This video makes you understand git branching and merging. Clearly, nicely explained on simple examples with simple slides. Exactly what I need. Thank you, David for great tutorials!
phenomenal, this video is most precise and fast way of understanding concept. One of the best for Git branching , which is normally confusing to understand but you rock and you made it so simple. you conveyed the concept in just 28 min . Really creative and more precise. Thank you David
Very clear explanation on a super-dry subject! The simple graphics and text highlighting worked really well, thanks for putting in the time to make this video.
I became a fan of your explanation. Really great way to explain concepts practically and diagrammatically, loved it a lot. Had watched several videos but nothing gave me a clear-cut idea like your illustration did.
Awesome, thanks for the feedback Karthik. I've had trouble with Git when I first was trying to learn it. I tried to present in a way I felt would have helped me when I started.
I always struggled in learning git and I just got to learn the basics and without fully understanding them, this video helped a lot with expanding my knowledge and also in a fun, interesting way, gonna watch all the three video tutorials for git, awesome work man keep it up, I know this is an old video but also gold
Finally, what I was looking for, cleared a lot of concepts like, various merging and stashing. Great work. I have been using git for some time now for my project, but my knowledge was limited to push, pull, and creating a branch., but this video gave really good insights. A complete git guide for beginners.
Excellent video. Finally found a video that explains what I have been missing even after watching countless others. Going to dive in and watch the rest of your videos. Many thanks.
David, This video is fantastic, and ended my search for a lot of information. The content was well-thought out, and your cadence and intonation are perfect and friendly. Because of that, when I slowed the video down to 0.75 speed, it was the perfect video! I absorbed so much. Thank you! I will be looking out for more of your videos!
It's not fast at all! The speed is perfect and the explanations are very clear! Some people simply need to be reminded they can replay the parts they didn't get the first time as many times as they want ¬_¬
Thanks a lot! I started working recently in a company that manufacture chips for routers and I just got a merge conflict. This video really helped me understand how the conflicts works and how to resolve it correctly. I am using beyond compare and at first I didn't understand why I had 3 different text files to compare, this video explains it perfectly. Again, looking forward for the next one on remotes!
Thanks, Omri! I haven't used beyond compare, I'll look at it for my own interest. Yes, the three way merge I never really paid attention to when first using Git, and that was to my detriment in learning about merges - so I put some attention to it here.
This is a great presentation. I am grateful David. Keep adding more videos on git, artifactory, jenkins, uDeploy etc if possible. Thank you so very much.
Not only is this a great instructional video, but David uses a solid pedagogical approach: he tells you what he's going to tell you, he tells you, then he tells you what he just told you.
Thanks for noticing ;-).
Very true. Said what was in my mind. The fact that he keeps track of all the information for you shows how empathic he is. Leaves no room for ambiguity. No room for confusion. ❤❤❤
Thanks @DavidMahler
Thanks alot.
00:59 start a new git repo
1:46 git commit -m "create S1"
2:08 git commit -m "create S2"
2:13 git log
2:35 what is branch
3:02 how is branch implemented
3:14 every *commit* has a *40 hex decimal sha-1 hash*
3:26 a *branch* is just a *pointer* toa sha-1 hash
3:43 the way git knows which *branch* we are on is a speical pointer called *HEAD*
3:49 *HEAD*
4:05 in git termonology, the *HEAD* pointer tells what we have *checkout*
4:27 git log --all --decorate --oneline --graph
4:30 when run this, we see the *commit graph*
5:05 create new branches
6:03 checkout and work on branches
6:12 git checkout SDN
7:04 demo
9:18 git commit -a -m "message"
9:21 -a option will stage and commit any tracked files that has been modified
9:49 9:53 integrate changes back into master
10:08 fast-forward merge
10:54 demo
11:04 *git diff master..SDN*
11:20 git merge SDN
Why this indentation?
extremely great explanation and graph illustration . really easy to understand more than any tutorials about git I found .
Thanks so much!
I had exactly the same experience. Inferior explanations all over the web. This video tutorial takes longer than reading through stuff, but it's a surefire way to understand. Only direct P2P tutoring trumps David's video
I watched 2 entire git tutorials, couldn't understand them untli I watched this video. Props to this guy.
the best tutorial i have till now
Same here !
It's so awesome.. This video is packed with information . It's like 3hrs content in just 29 mins and you will still understand everything
Thanks!
others Git tutorials are not even close to this one.this is a masterpiece. i always had problem with git understanding and now i just love to use git professionally.Thx man
That is great to hear that it helped you - thanks for the comment!
Best git tutorial I encountered so far. For some surely too fast, for others too slow, but for most *beginners* it's surely perfect
Sure, thanks!
Finally a great tutorial with "real life" meaningful examples. Thank you sir!
Thanks for the comment Luis!
This video is far better than other tutorials where they just tell you commands and move forward. Language used is pretty simple and easy to understand.
Thank you!
Awesome to the point. Better than 2 hours of Udemy videos and this one is completely free. God bless you.
lol, thanks a lot for taking the time to comment!
Demonstrating what you're going to do with the graphical solution, then after; explaining it using the commandline is like the perfect method for teaching this subject.
Thanks Riley!
Best git tutorial I have seen. Although sometimes a little fast. Looking forward to the next one. Thanks for your work.
Thanks Ed, yes I've heard that a couple of times, I'll take it into consideration in future series.
On the video, you can go to "settings" and "playback speed" and reduce the speed to your desired outcome.
@@DavidMahler please don't. It's preferred more knowledge in less time. That's the pause bottom for, so people can play it again and again. Your teaching was on spot.
One of the best git branching/merging fundamentals I've seen
Well finally! This is the first tutorial I've watched about git branch where I've actually understood what "detached head" means. More importantly, I finally got a clue as to how to resolve it. BTW: Presentation speed may be a little quick but personally, I'm ok with that; "pause" and "rewind" work pretty well.
I love how he puts a quick review at the end. Very Concise. Very Understandable. Very Helpful.
I appreciate that!
Perfect explanation! I usually apply fast forward to the videos I see on youtube but this video has the right speed and also covers the topics perfectly.
Thank you for your work
You're welcome, thanks for the comments!
Best explanation of working with git branches I have ever come across. Reading git docs is like reading Chinese. Following this I actually now know what I'm doing. Thanks so much!
Lot's of technical documentation is rough for me too, which was one of my main motivators for videos like this.
Thanks for such a clear cut and specific explanation of the different cases when branching. It's really helpful to know beforehand what to do if any problems arise when starting to use Git.
Who else went through this whole video without ever pausing the video and going back a few seconds to repeat something?
Haha, just kidding!
I stopped and went back so often, I spent almost 2 hours on this video,
because this was a Very Useful Video.
Thank you David!
Ha, I think my videos are a bit dense/compact could be good could be bad :-).
Great coverage of the fundamentals, thank you. It's 15 years since I wrote any code in anger (ie, pre-Git), so this was a much needed primer to shake loose my SVN-based misconceptions!
Git made me very angry for months when I had no clue what I was doing with it at first. Thanks!
One of the clearest git explanation I have seen and it is very detailed. I would recommend this to the people I know who wishes to learn git.
Thanks for that!
One of the best GIT tutorials..Simple and to the point...thanks a lot David
Thank you sir!
You rarely find the perfect combination of quality and generosity on the internet. This is one of them. Thank you very much! I hope that at some point I can do this too!!
Thanks Bioan that was very kind!
This is a great tutorial. The visuals are excellent. I really “git” it now!
Thanks again!!
this series is the best material on git than any conference talks on RUclips. Thank you very much David!
You're very welcome!
Just what I’ve been looking for. Thanks.
Great! Thanks!
This is like a video you'd see made by the government for the standard way to do something. Informative, to the point, and clean.
:-) thanks!
This is one of the best resources for learning merge. Thanks a lot, sir. Keep the good work going
Thanks!
This is by far the best git tutorials that I have come across. No other tutorial has explained the Detached HEAD state any better.
TY!
Well explained!
It has never been clearer to me, thank you so much for this informative tutorial.
Thanks Omar - thanks for watching!
Never thought someone could explain git in such a simple & understandable way, kudos!
Thanks!
One of the best git tutorial on git flow. Thank you!
Thanks for that, you're welcome!
This is a masterclass tutorial with proper examples and explanations. Well done sir.
Wow, thanks!
Cuts straight to the chase, kudos to you!
Thanks again Kunal!
Perfect Illustration on fixing the merge conflict and detached head. Dear David, you are the best !!! appreciate your time for posting your know how and educating everyone here. Thank you !!
Thanks a lot for the comment!
This and its earlier videos are extremely well done and useful. Thank you!
You're welcome! And thank you!
Precise, concise and clear. No ums and arrs just well prepared delivery. Excellent!
Thanks!
I edit those out ;-)
Just incredible, as David's previous video on git basics. Thank you!
Thanks again!
Single handedly the best git intro tutorial... I've been suggesting another video to students all this time and one of them just sent me this. Precise and to the point, easy to understand and simply what a tutorial should be.
Oh that's great, say thanks to the student for me ;-). Thanks!
Glad someone is explaining this clearly, but sometimes you go very quickly. Remember that we are absorbing new concepts as you speak.
OK, thanks for the feedback!
I had the same problem, but luckily, through the wonders of modern technology, I was able to pause and rewatch the parts I needed clarity on.
Yeah, I'd say, just pause between points rather than going "slower"
I'm __GLAD__ you go quickly! 28min is long enough, and RUclips EASILY allows left arrow to rewind to replay something!! Thanks :)
@Phil I think you're suggesting the viewer should pause, not Mr. Mahler, right?
What more can I ask, if you explained it better than anyone I've seen on RUclips and.. AND.. added all the used commands in the description. You're a blessing.
Thanks! Glad those were helpful ;-).
11:54 deleting branches
12:33 git branch -d SDN
13:18 there is no direct path from the master branch to the auth branch => 13:27 3-way merge
13:30 3-way merge
14:04 demo: git merge auth
14:16 the output does not say fast-forward merge like last time
14:29 git branch --merged
14:51 *merge conflicts*
16:32
17:33 demo: git merge dev
20:27 *detached HEAD* state
21:27 another way to handle detached state
21:36 put a new branch label
22:30 git stash
😂
You’re a gifted teacher. Hands down the greatest git explainer.
Very kind, thank you!!!
1:00 - Creación de un repositorio
5:04 - Creación de ramas
10:08 - Fusión FFWD
11:54 - Eliminación de ramas
13:30 - Fusión a tres bandas
14:49 - Conflictos de fusión
20:25 - Detached HEAD
22:30 - Stash
This is a well documented tutorial.. step-by-step. No confusions what so ever. Thank you.
Thanks!
Fantastic tutorials. Simple, straight forward, gets to the point quickly, just the right speed and very easy to understand, thanks alot!
Thanks!
Before I watched this video, "detached head" message struck terror in my heart, but no more. Many other points of confusion and frustration have been resolved.
LOL!
Really clear explanations, great visualizations and clean walk through of carefully picked examples, professional sound and screen, no distractions, flawless speech and neutral voice. More of that!!
Wow, thanks!
Awesome explanation ... Every time I read and watch stuff about git I end up with so many questions. But you cleared all my doubts in 30 minutes and now I am so confident in using git.
Thank you so much
Awesome, that is great to hear, thank you!
This is THE BEST GIT TUTORIAL on the ENTIRE web. And let's also apreciate the fact that is free guys.
yes let's! ;-)
The three videos on Git gave me a clear understanding of Git. Out of all other sources I had looked for (including Coursera courses), this is the best. Thanks David.
great, and it's free! TY!
Really enjoying the clarity & visual illustration of your explanations David. Best I've found on the subject.
Thank you so much. I'm a tech writer that has never been a programmer trying to translate this stuff to a busy client. This and your core concepts video were lifesavers!
Thats great I'm glad it was useful for your work!
Communication and presentation is an art. With that said, David's videos are Mona Lisa! Thank you David!
Wow, thanks for that!
After a confusing 4.5 hour course on Udemy, I finally understood it all thanks to you. Cheers!
Thanks again!
These 3 videos are the best explanation videos for Git so far on RUclips......Great job David!...Thank you!
Wow, thanks!
Very good continuation of previous "Core Concepts" video. This video makes you understand git branching and merging. Clearly, nicely explained on simple examples with simple slides. Exactly what I need. Thank you, David for great tutorials!
Thanks Roman!
Literally the BEST git tutorial out there and I've watched dozens.
TY!
phenomenal, this video is most precise and fast way of understanding concept.
One of the best for Git branching , which is normally confusing to understand but you rock and you made it so simple.
you conveyed the concept in just 28 min . Really creative and more precise.
Thank you David
You are quite welcome, thanks for the detailed feedback!
Excellent and precise explainations, that make this video the easiest understandable tuto I found on the internet about git so far
Awesome, thanks for the comment!
probably one of the best Git tutorial out there with a very crisp and to the point explanation. Thank you, this really helped out a lot !!
Great to hear!
Very clear explanation on a super-dry subject! The simple graphics and text highlighting worked really well, thanks for putting in the time to make this video.
TY!
This is a really great tutorial for someone who has the basics and just wants to start learning some advanced concepts.
Thanks for the comment!
I became a fan of your explanation. Really great way to explain concepts practically and diagrammatically, loved it a lot. Had watched several videos but nothing gave me a clear-cut idea like your illustration did.
Awesome, thanks for the feedback Karthik. I've had trouble with Git when I first was trying to learn it. I tried to present in a way I felt would have helped me when I started.
I always struggled in learning git and I just got to learn the basics and without fully understanding them, this video helped a lot with expanding my knowledge and also in a fun, interesting way, gonna watch all the three video tutorials for git, awesome work man keep it up, I know this is an old video but also gold
Thanks for the detailed comment, it means a lot!
@@DavidMahler anytime
This is the best explanation on RUclips
Thanks Mafaz!
I've been using git (mostly poorly) for a decade and I learned a lot from this video!
We probably all do (use it mostly poorly) ha!
Best playlist of git tutorial.Learned a lot . Clear explanation and simple graphic illustration.
Thank you David
Wow, thanks!
Felt like a github master after watching this series ♥
TY!
This is by far the best lecture on git I’ve seen
Thanks Leo!
An explainer video done well... who would have guessed such a thing could be found on youtube???
Well done!
Ha, thanks a lot Owen!
These videos are very underrated , best video for learning git...
Thank you!
Your tutorials are really so helpful, very clear and logical graphics, using git status to show the current state every time, very helpful!
Thank you!
Excellent, I've been meaning to figure out how to use Git after being stuck on SVN for ages. This is super straightforward.
nice, thanks! I never learned SVN.
Finally, what I was looking for, cleared a lot of concepts like, various merging and stashing. Great work. I have been using git for some time now for my project, but my knowledge was limited to push, pull, and creating a branch., but this video gave really good insights. A complete git guide for beginners.
Great, that's how I started with git too, I didn't really know what I was doing at all!
Great video, really. By far the best explanation of the main GIT workflow I have seen so far. Congratulation! Thanks for this valuable gift.
Wow, thanks a lot! You are welcome!
Excellent video. Finally found a video that explains what I have been missing even after watching countless others. Going to dive in and watch the rest of your videos. Many thanks.
Awesome, thanks for that Paul!
Made the most dreaded topics in git look like a piece of cake!!!
Loved your simple and to the point explanation!!
Thanks!
A very unique way you have explained everything. Direct encountered point to point. appreciate your work David. Thank you !!
Awesome, thanks!
One of the best videos on branching and merging in git. Kudos to u for making this video
TY again!!!!
The best explanation, step by step. Git now is so simple
Thanks for continuing to support the channel!
David, This video is fantastic, and ended my search for a lot of information. The content was well-thought out, and your cadence and intonation are perfect and friendly. Because of that, when I slowed the video down to 0.75 speed, it was the perfect video! I absorbed so much. Thank you! I will be looking out for more of your videos!
Thanks! Yes some folks have said the videos move a little fast, it's hard to find just the right balance.
I have never ever had such a good explanation on anything like this! 🙃 Amazing. Thanks.
Thanks I appreciate it!
One of the best GIT learning tutorial for beginners. Well done David. Thanks for making and sharing.
you're welcome!
I've been searching for a long time for a git explanation at such quality... Just found it in this video! Thanks!
You are welcome!
The best tutorial available online to understand git. Thanks man.
You're very welcome!
The best Git tutorial on RUclips! 18 haters must be kidding!
Ha, no one is perfect! Thanks!
As someone who is just getting into git, this helped me a lot and cleared a lot of variables! Thanks and keep up the great work!
Great, I'm glad it helped you!
It's not fast at all! The speed is perfect and the explanations are very clear! Some people simply need to be reminded they can replay the parts they didn't get the first time as many times as they want ¬_¬
Thanks, it's hard to find a happy medium!
This was very helpful and extremely well made. Thanks, David!
Thank you 63dogs!!!
Explained with simple words and examples ..!
Resolved the mystery of detached HEAD
Thanks I know, it was so weird to me at first!
its the perfect source for entry level developers/dev ops to learn git. Thanks a lot !
I had a lot of trouble when learning Git, so I thought something like this series would help.
It is 2020 and it is still legit! Thank you
best tutorial on branching and merging I've ever seen.
That's very kind, thanks for that comment!
Great to have a clear and simple education on using git. thank you. one of the best GIT training videos i have seen so far.
Wow, thanks!
Thanks a lot! I started working recently in a company that manufacture chips for routers and I just got a merge conflict. This video really helped me understand how the conflicts works and how to resolve it correctly.
I am using beyond compare and at first I didn't understand why I had 3 different text files to compare, this video explains it perfectly.
Again, looking forward for the next one on remotes!
Thanks, Omri! I haven't used beyond compare, I'll look at it for my own interest. Yes, the three way merge I never really paid attention to when first using Git, and that was to my detriment in learning about merges - so I put some attention to it here.
Thank you for uploading for free. This is best git tutorial i've seen.
You are very welcome!
Clean and simple explanation for all of the most important git commands and strategies! Thanks a lot!
You are very welcome! Thanks for watching!
highly comprehensive explanation and illustration, best I have seen on the topic so far...thank you!
yw!!!
Great work! Nicely done.
TY!
This is a great presentation. I am grateful David. Keep adding more videos on git, artifactory, jenkins, uDeploy etc if possible. Thank you so very much.
OK thanks!