Introduction to Git - Core Concepts
HTML-код
- Опубликовано: 8 сен 2024
- Introduction to Git - Core Concepts.
Twitter: @davidmahler
LinkedIn: / davidmahler
References:
Pro Git by Scott Chacon - git-scm.com/bo...
Visual Git Reference by Mark Lodato - marklodato.git...
Commands used in this video:
git init - initialize a new repo in a directory
git config --global user.name "name"
git config --global user.email "email"
(--local option as well)
git status - see the state of files in working tree, staging area vs latest commit in git history
git add - move file(s) to the staging area
git log - view the git history / git commit graph
git diff - diff of working tree and staging area
git diff --cached - diff of staging area and latest commit
git rm - remove a file from the working tree and the staging area
git checkout -- filename - retrieve a file from the staging area into the working tree
git reset HEAD filename - retrieve a file from the latest commit into the staging area
git checkout (commit hash) filename - retrieve a file from a previous commit
This should be the first video for all "github tutorial" searches.
Thanks!
Well said.
yeah, think so too. but what kinda annoys me is that it sounds like you say „get“ not „git“. :D
One of the best introductory git videos on YT. Explains fundamentals, not just "type this, then this"
Thank you! Ya I have trouble following that way too!
Give that man a medal
Ha, thanks!
Absolutelly!! A fantastic tutorial!!!
What if he prefers a cookie?
🏅 - he deserves it!
Indeed 200% :)
Commit == snapshot!!!! For some reason every other intro video skips this! It was a huge hole in my understanding. Thank you so much!
You're welcome!
@@DavidMahler You are breathtaking!
One of the best intros i have ever seen
Thanks, Tom that's very generous of you to say!
I might be a bit late, but this is a great video so I had to leave a comment. It is by far the best one I've seen on Git, carefully explaining basic concepts while also making it practical. Excellent work, David! Thank you for sharing it with us.
Thank you Alan! Never too late for feedback!
You got that awesome "audiobook voice" that works really well with the video! Great introduction, thanks a lot!
That's funny! Thanks!
Exactly!
indeed !!!!!! Wonderfull!!
This is the first time I saw that git workflow graph, and I like how you keep referring back to it, showing how different git commands are reflected in the flow of information on the graph. It helped me to visualize what I am doing when I use git add and git commit.
I had a pretty hard time with Git myself until I started thinking about it like in the diagrams, it has made (mostly) a lot more sense since then! Thanks for the comment!
the best video on git that I've found! Thanks a lot for your hard work!
Awesome! Thanks for that!
Seriously, why doesn't this video come up first?
You don't just show and share your knowledge, but you also show that teaching is an art as well!!! Thank you!
Thanks Robert! This comment means a lot to me, truly!
Magnificent explanation. Thanks for sharing this material so well-structured and easy to follow!
Thanks for this. I'm a long-time SVN user migrating to Git and although I've used it in other teams, administering the migration process has me in a right pickle.
Looking forward to the next two videos.
I've binge watching Git concept videos for the past 5 days. This is by far the best video of this topic !!
ha, thanks!
Excellent tutorial. The graphical representation of all three areas as you progress through a series of experiments is invaluable.
Thank you.
Thanks so much!
Best pacing I've seen in a Git tutorial. Helped me tremendously, thank you!
You're welcome!
SO impressed by your thoroughness and clarity. You are very articulate and well spoken, the diagrams illustrate your talking points extremely well, it's not overly complicated, you highlight items on the screen that you are speaking to, and you revisit new ideas/concepts regularly - all of which are extremely helpful for new learners. This is fantastic!
Thanks a lot for the feedback Matthew!
This is by far the best introduction about Git.
Thanks!
Very good video and thanks for all your efforts to put it together.
Thank you!!
fast forward to 2023 :-
18:49 : currently '$ git rm ' does two thing in following order (removal from tracked --> commit)
19:50 : alternative to git checkout --S1 would be '$ git restore '
22:14 : alternative to git reset HEAD S1 would be '$ git restore --staged'
Now you can see a parallel b/w git diff & git diff --staged vis-a-vis git restore & git restore --staged
Thanks a lot for your thorough explanation with the comparison between visualisation of diagrams and practical git examples
You're very welcome, thanks Lawrence!
Holy crap!! This is the best video on git I have ever seen. This video should be mandatory for all developers.
Excellent. I use Git every single day, but I'm at the point where I need a more thorough understanding. This is exactly what I need. Very nicely done.
Thanks a lot, I'm glad it was able to be of some assistance!
Core Concepts explained in a very concise way. Crystal clear explanation. Thank you for your efforts in preparing this video. I found it very useful.
Thanks for the feedback!
Thank you David for a clear and thorough introduction to the basic use cases of git. The best have I seen on youtube so far. The use of the diagrams really brought it home to me.
great, thanks for the comment!
This is simply the best git tutorial that anyone could ask for. Thank you.
Your very welcome Malachy!!!
Man, I had to double check if I was watching some weird "get" command video :D That aside, excellent explanation! Git is something we all use, but I suspect many of us have just memorized certain commands to get to push, while not really understanding the underlying details of what's going on. Thanks for this!
I know, it's the bane of my existence, thanks for the comment!!!
This video is so comprehensive. You are genius to explain the commands in such an easy way. kudos.
TY!
I've benefited from this video alot. I'm much more confident with Git now. Thank you so much. ❤️
Glad it helped!
This is the best explanation I've seen yet. Just amazing.
Glad it was helpful!
Fabulous. I am a visual learner so seeing graphs etc is very helpful for my understanding. Merci ☺️
de rien! me too!
Possibly the best tutorial for git so far...and yes I have watched quite a few. :)
TY!
Honestly ... the BEST INTRO to GIT that I have seen... PERIOD!!
Thanks so much!
git is a complex topic and looks like you have figured out the best way to teach it! I like the sequencing of concepts within and between your videos. Also, discovered Scott Chacon through you and it is big! Thank you David.
Thanks Ramesh! Yes I learned most things form his work!
You are a gifted presenter David Mahler. Make more content please. Stunning. Reminds me of the documentaries I used to watch as a kid. Very well done.
Very cool, thanks for the message!
This is the best way to explain things. Thanks for the lesson! Liked and Subscribed.
I'm a complete beginner at programming and Git. I had to watch this video about three times to fully get understand what was going on. But, I can say this is the best explanation of Git Bash I have found on the Internet! Thank you!
Thanks Dave!, Sincerely, Dave
Resolved all my doubts about Git. Great work Sir. God bless you.
Great thanks!
this the best teaching in internet about git topics .I just loved this . its very useful thank you keeping doing more
its amazing teaching sir
Thanks a ton Kumar!
Simple, but not simpler. Clear both in content and voice. Excellent. Thanks, David.
Thanks so much Kenneth!
the simplest and best video that explain the concept and basics of Git
Thanks!
How come anyone in the world would dislike this video...Simple and Best way to explain GIT..thanks David for making our lives easy...
A leading cause could be b/c I keep saying "get" instead of "git" ;-). Thanks for continuing to support the videos / the channel Sreeram - it means a lot!
I watched this video a couple years ago when i know little English and now I rewatch this again just to realised yours git video series is the best I've seen so far. I'd refer anyone to need to know git to here
Thanks so much!
@@DavidMahler I dont know what you circumstances are at the moment but I hope you make more video like this! your video quality is top notch. 100x better than professors at my uni!
@@mysterious_commenter3285 Thanks a lot! I want to start them up again. It's hard with work and life!
This is my 3rd (or fourth) video on git basics! Finally it all makes sense. Wish I had seen this sooner. Given how much I’ve searched, I think this is the best git intro video for total beginners like me.
Thanks, glad it helped to clear things up!
Amazing tutorial in the easiest language ...... no head bounces (like in other videos) ..... waiting for next videos also ..... too good the visual git reference too
Thanks!
really great explanation. easy to understand by showing visuals after each command
Thanks!
Great vdio regarding the git. First the flow diagram then simple examples which are explained in the diagram. they way you make the vdio help me to understand the core concepts in just 30 mins. rly cool. Thank you for this.
Thanks a lot!
This is a most excellent introduction to Git. Thank you for making it.
Glad you like it!
Thank you I needed this! I couldn't quite grasp git with all these random short videos online that don't really teach you anything. It really helps me actually learn git with you breaking everything down for us.
Great to hear!
This is the best lecture I have found on Git Intro. Thank You so much! for giving us the proper understanding of Git
You are very welcome!
Incredible Explanation! Not just teaching Git Commands but Most Importantly teaching the Core Concepts. Hands down the best video on Git Fundamentals for an Absolute Beginner.
ty!
Saved my life, thank you for this excellent explanation!
You're welcome!
This video is pure gold.
The best git tutorial by a huge margin - clear concise and accurate.
Wonderful comment, ty!
I have watched many videos perviously none of them has explained briefly as you did.. Thank you so much sir. I understood the basic concepts of GIT now because of you.. Thanks once again.
Awesome, and you are very welcome!
Extremely helpful thanks david
Great Video! Really liked it. Awesome way of introducing Git. Cheers.
Thanks Esteban! I tried to do it in a way I would have preferred to learn it when I stumbled through learning it.
what a great speaker!!! I thought this was a TTS application at first. No stuttering, no pauses; etc... perfect speech.
Thanks, Doug! Uh oh, not too robotic I hope ;-).
it doesn't get any clearer than this video. Thanks David
Thanks so much!
Excellent tutorial. You obviously have a talent for teaching technical subjects like git.
Thank you, and what a great name, Daves unite!
Till now the best one i have seen on explaining the key concepts.
ty!
After swooping through more than 10 GIT intro videos, and after full view of 3 of them , I finally found a good and thorough one. Best video. thanks David.
Thanks a lot!
Awesome intro to Git ! Covered all core topics, yet presented it beautifully, in a way that makes it difficult to forget core concepts.
Thanks!
First time I feel so clear about these concepts.. Awesome Sir !!!
Thanks for that!
Thanks David. This is the best video I have watched on GIT Intro. Other videos did not interest me in such a manner and always left me confused.
That is great to hear, thank you Prashant!
Amazing, Amazing, Amazing. I've been trying to understand git for such a long time, but none of the tutorials were good enough(until I found this video). This should definitely be the first video to come up on git tutorial.
Nice, thanks!
This is the best way one could ever explain git. Crystal clear. Thanks a ton.
Quite welcome, thanks for commenting!
I wish all topics were taught like this.
Thanks!
You are the man David. I don't have words to thank you. One of the best into I have ever seen. You are always to the point.
Thanks for that!
First time I have understood GIT after several other videos
Every Git training I came across always seemed to be an introduction to someone who knows git! Thank you for making this excellent video that does not lie when it says "Core concepts". Truly grateful for this
Thank you!
Amazing explanation of the Git Core Concepts. Thanks a lot.
You're welcome. Thanks Prasath!
Great Tutorial. You expalined Git terminology in very simple words and with example. I have been working on git for a couple of years but still strugging to understand the entire picture. Your video helped a lot.
"I have been working on git for a couple of years but still strugging to understand the entire picture" - me too ;-). Thanks!
Thank you for a great video. Appreciate that you always refer back to your diagram.
Glad it was helpful!
Deep fundamental explanation in simple way for beginner!
Thanks!
Thank you for making these videos. They're worth watching
Thanks!
Clear and straightforward. Excellent.
Thanks!
The Best video on RUclips. Understood well. The way you explained is awesome. Thank you so much for the video😊😊.
yw!
At last, things are starting to make sense. Thanks for this well organized video.
Awesome! I'm glad it helped you!
best video I saw on GIT introduction. Thank you very much
yw!
Very nicely done. A tutorial cannot get any better than this. Thank you!
Thank you!!
Eloquent, you are. 2018, HUH! Meticulous Visionary you must be.Thnk you for this awesome tutorial. Please upload more of it, makin ur channel like one spot solution for the things you are maven at.
Thanks! Ha, something like that ;-). I will!
This person should be given youtube's diamond play button
Ha thanks, I have to make way more videos for that to happen ;-).
Probably the most neat IT video I've ever encounter to. Wish there were more on Linux or networking topics.
ha, ty!
great video. simplified the git concept so clearly. thank you for the hard work you put in this.
Your'e welcome!
Gives what you should know all about git, to the point. Thanks.
yw!
Thank goodness! I tried several other Git intro videos that were just a fury of commands without any sort of of top down guidance. Fortunately I finally found your videos! I appreciated you working with a simple example and continuously going back to the diagram. Your pacing was great, too.
Thanks for the feedback!
This is the best lecture I have found. Thank You so much! for providing proper intro of Git
Thanks!
After a confusing (albeit free) 4.5 hour course on Udemy, I finally understood it all thanks to you. Thanks!
Ha, thanks!
Best Git explanation ever. Thank you Dave
You're welcome!
The best Git tutorial on the planet, Kudos David...
Thanks!
Best video about git so far I have seen. Thanks Dave.
Wow, thanks!
Very well explained. Definitely the best of all videos on Git !!!!!!
Wow, thanks!
After taking notes while watching your video, I realized you had them listed in the notes under the video so I double checked my notes and noticed you put "git diff --cached" to show difference of staging area and latest commit but in the video you used "git diff -staged". Just wanted to give you a heads up just in case someone just copies your notes without actually watching the video. Your videos are super helpful by the way, thanks for this!!
Oh, thanks, ya they do the same thing :-).
Crystal clear explanation with no bullshit!
Thanks!
Absolutely fantastic tutorial that has the quality of a paid course; but is free!
Thanks for the great intro.
Thanks, I'm honored you feel that way!
this video saved a month of study for git
THX A LOTTT
yw!
Not only relevant for git, but one of the best technical tutorials on YT
Thanks a lot! Wow!
Awesome job! This is the best git tutorial I've come across. Thanks!
yw!
Indeed, you deserve a medal David. I have been digging to understand core concepts & then I found this. Exceptional explanation !!! Than Q !!!
yw!!!
Excellent video! I shared this one with my kids who is learning git.
Nice, good for them!!!
Perfect intro into the most essential features of Git. Concise and easy to understand, keep up the good work!
Thanks a ton!