Introduction to Git with Scott Chacon of GitHub

  Рет қаралды 390,162

InfoQ

InfoQ

Күн бұрын

This talk introduces the Git Version Control System by looking at what Git is doing when you run the commands you need to do basic version control with it. We'll look at how to use Git to do the basics, while seeing how it differs from Subversion, what staging and committing actually looks like, how it stores it's data, how it branches and merges so nicely and how it talks to a server when pushing and fetching. Then we'll look at how to look at your history with log in interesting ways. This should help Git newbies get acquainted with the popular VCS and other Git users get a glimpse of what's happening under the hood.
** More educational videos on open source at marakana.com/te...

Пікірлер: 140
@laytonmiller2641
@laytonmiller2641 5 жыл бұрын
This is the single best explanation of the core git concepts I've seen. Makes sense given who is giving the talk but it is incredibly clear.
@rothbardfreedom
@rothbardfreedom 5 жыл бұрын
"Has anybody been to GitHub?" This shows how this talk is old (and gold).
@brainplot
@brainplot 4 жыл бұрын
IKR, that sentence made me check the upload date!
@rivan0396
@rivan0396 4 жыл бұрын
@@brainplot aacava\ssvvvcUsap ke kiri atau ke Tekan yang lama untuk memperbaiki & menguncikanan untuk menghapus kartu
@SergioTerroso
@SergioTerroso 2 ай бұрын
It's almost 2025 and this has been the best Git introduction i've ever seen. I've learnt more about Git in this slightly-over-one-hour video than in all the years I've been working as a developer!
@positronalpha
@positronalpha 3 жыл бұрын
10 years later and this is still the best talk about Git out there. I wish every Git user would take the time to watch this, because if you don't understand these very basic concepts, you'll mistakenly believe that Git is complicated or hard to use.
@toby9999
@toby9999 2 жыл бұрын
I believe Git is complicated and hard to use. That's my opinion after a year of struggle. This video didn't do it for me. Nothing after 15:00 made any sense.
@positronalpha
@positronalpha 2 жыл бұрын
@@toby9999 The bit starting from 15 minutes is exactly the simple concepts that lets you grok Git at a fundamental level. I hope you develop a deeper understanding at some point and that you will find it easier to work with after that. It is a fantastic, powerful tool.
@floverdevel
@floverdevel 2 жыл бұрын
After all these years, this is still the best introduction to Git I have ever watched. Great job Scott 👌🏻👏🏻 Still today I recommend this video to every of my new colleagues 😊
@toby9999
@toby9999 2 жыл бұрын
Hoping it will be because I'm almost ready to have my brain explode. Git is horrendous. Edit: I was lost by around the 20:00 mark. So, if this is the best introduction then I'm stuffed.
@sushilakaushik1867
@sushilakaushik1867 Жыл бұрын
Though I want to ask if you guys know more of such talks and can recommend, would be great to hear
@pinatacolada7986
@pinatacolada7986 Жыл бұрын
Yeah, this was the best tech presentation I've ever seen. Git & Bitcoin changed the world for the better over a decade ago.
@5teveg
@5teveg 11 жыл бұрын
What a brilliant presentation. It's fast and I won't pretend I didn't have to rewind a few times, but think of it as a reference. Scott is an excellent communicator. Thanks for sharing. Git really is incredible.
@arunm619
@arunm619 3 жыл бұрын
I was in 8th grade when this vid came out, In 2021 I am learning from this video now. Time really flies! Great video!
@DrowsyDowell
@DrowsyDowell 3 жыл бұрын
I just finished my OS class in college, one day my professor asked "so...how many of you know how to use git?" everyone in the class said they either never had used it before, or we barely knew how to use it. He just looked at all of us and was like "we as professors have failed you...git is super important...everyone, if you're interested, write me an email saying that you want a class on, or at least an introduction to git. I'll compile all of them and walk into the dean's office and start that conversation" but since this is my last year in school, I'll be turning to youtube
@troglodyto
@troglodyto 8 жыл бұрын
this is a great tutorial because thsi guy is so passionate and knowledgeable, and his mind is 100% on this, and his little asides are as useful as the main thread. best tutorial. the behind the scenes stuff was itneresting too
@john-s9m3f
@john-s9m3f 4 жыл бұрын
"git lol" is an alias set up by Scott for "git log --oneline --graph --decorate". He starts explaining it at 1:10:28.
@hiralbest
@hiralbest 9 жыл бұрын
Cleared most of my doubts for git.... I feel confident for using git after watching this video....
@nagpoore
@nagpoore 11 жыл бұрын
Indeed a great lecture, didn't fell sleep watching this log tech video after such a long time! Tremendous energy...
@MrDavidFitzgerald
@MrDavidFitzgerald 6 жыл бұрын
I prefer this speed of talk. It's much easier to repeat fast bits than to reliably skip slow bits.
@martinharrisFTW
@martinharrisFTW 4 жыл бұрын
this is by far the BEST talk on git. thank you!
@colsen10
@colsen10 9 жыл бұрын
Best introduction to GIT ever
@CoreyRothwell
@CoreyRothwell 12 жыл бұрын
The basics explained were much easier to understand in this video than in the pro git book.
@jmg78
@jmg78 12 жыл бұрын
I have a TFS background so I was really struggling to understand GIT. This finally got me over the hump. Great video, Thanks!!!
@stableschippenham
@stableschippenham 4 жыл бұрын
Excellent presentation, rich with information and very clear, thank you
@fabianrothfuchs
@fabianrothfuchs 11 жыл бұрын
Your engery is tremendous! Although I had to loop some parts, I never got tired like I do on seminars ... :-)
@MrJanzurich
@MrJanzurich 11 жыл бұрын
A quite good introduction, to understand git and how git works internally and what are the benefits of git.
@umreddy4855
@umreddy4855 5 жыл бұрын
Thank you. Got a good understanding of Git basics by watching this video.
@mohamedaminebenmabrouk
@mohamedaminebenmabrouk 6 жыл бұрын
great presentation
@jfedgar
@jfedgar 12 жыл бұрын
This was the best combination of both conceptual knowledge + implementation that I have seen. For people who are still confused, there is now a tryGit interactive walk-through at github/codeacademy (trygit.github.com i think)
@sergelachapelle1557
@sergelachapelle1557 11 жыл бұрын
Ah! The light just came on!... This is a great talk... Thanks
@SoeaOu
@SoeaOu 12 жыл бұрын
excelent presentation and tutorial every IT presentation should get this much energy fom the presenter
@lintfordpickle
@lintfordpickle 12 жыл бұрын
This is a great introduction to git - really awesome
@ElisandroDeLeon
@ElisandroDeLeon 9 жыл бұрын
Git is starting to feel like a time traveling movie.
@JayBazuzi
@JayBazuzi 12 жыл бұрын
I think the answer is "Yes", as in "Yes, the index is a highly specialized branch that sits between the workspace and a regular branch, and can only be manipulated with its own parallel set of commands. For example, 'git add' is how you "commit" changes to the index, and 'git commit' is how you "merge" from the index to the regular branch.
@floverdevel
@floverdevel Жыл бұрын
What was the question?
@SonOfBohl
@SonOfBohl 12 жыл бұрын
"when you do a merge it only affects the context you're currently in" thanks I hope I'll remember that now
@TT-ud5gf
@TT-ud5gf 11 жыл бұрын
Please tell me the best tool use to DIFF and RESOLVE conflicts on a Mac Mavericks. In Windows, I use Tortoise to get a list of files that are changed and use BeyondCompare to actually view the changes.
@omrikatz2107
@omrikatz2107 7 жыл бұрын
Had no idea that Dennis from It's always sunny knows Git. very surprising
@prashantwani6343
@prashantwani6343 8 жыл бұрын
Excellent session
@FAT9L
@FAT9L Жыл бұрын
Having a branch named "fuck-help" is so relatable.
@default_youtube_profile
@default_youtube_profile 12 жыл бұрын
most of the stuff went over my head just because I dont work through commandline, as new to version control, i picked up that its not just for open source distributed version control and versions management as well.
@TrainingWithKona
@TrainingWithKona 3 жыл бұрын
still the real MVP
@benjaminstk
@benjaminstk 2 жыл бұрын
good presentation
@andrewvergel
@andrewvergel 11 жыл бұрын
La mejor explicación para los que inician en Git
@quooston
@quooston 12 жыл бұрын
The Git. The Git. The Git is on fire.
@JayBazuzi
@JayBazuzi 12 жыл бұрын
Is the index really just another branch?
@Pille1842
@Pille1842 10 жыл бұрын
Great introduction, thanks very much!
@skube
@skube 10 жыл бұрын
The last thing about log subsets didn't seem to work for me. At least in form: `git log branchA ^branchB`. However the other way did, i.e.: `git log branchB..branchA`
@gish85
@gish85 11 жыл бұрын
anyone know what that "tree -a" command was he used? My bash shell doesn't seem to have it
@EricFarrowTechnomonk
@EricFarrowTechnomonk 10 жыл бұрын
Great , really enjoyed and learned a lot ,Thanks
@dwintzeh
@dwintzeh 13 жыл бұрын
Thanks for this video! Very well explained.
@cosmicallyderived
@cosmicallyderived 7 жыл бұрын
Dang solid talk, nice work.
@ramaramsa
@ramaramsa 12 жыл бұрын
great GIT tutorial... helped me a lot....
@TheFunKing33
@TheFunKing33 9 жыл бұрын
Easy on the coffee before a talk.
@stableschippenham
@stableschippenham 4 жыл бұрын
youtube has a decaf button if needed... gear, playback speed x0.75
@dwaynesurdu-miller9799
@dwaynesurdu-miller9799 6 жыл бұрын
This seems to be an Git introduction for people who know how to use Git.
@toby9999
@toby9999 2 жыл бұрын
It's way too advanced for beginner's.
@benice898989
@benice898989 13 жыл бұрын
how many Red Bulls did you have prior to this talk :P Great energy man and very informative. Thanks!
@JanBruunAndersen
@JanBruunAndersen 12 жыл бұрын
@TheNawaMan - different parts of the file. Colour at the top, email at the bottom. No real conflict.
@bamojam
@bamojam 11 жыл бұрын
A quote from him during the talk.
@mbebeli
@mbebeli 12 жыл бұрын
Does that make sense?
@MarkGeekLee
@MarkGeekLee 13 жыл бұрын
really good, help me understand git a lot
@ChrisKnowles1170
@ChrisKnowles1170 11 жыл бұрын
If you're so inclined you can version control the version control of your C drive.
@AbsInABox
@AbsInABox 7 жыл бұрын
Thank you for speaking quickly
@Bytedecoder
@Bytedecoder 6 жыл бұрын
Nice tech talk
@GeekBlogTV
@GeekBlogTV 12 жыл бұрын
great talk!
@toby9999
@toby9999 2 жыл бұрын
Using the same local folder/copy for each branch just doesn't work reliably for me. It creates a horrible mess. I had to use a separate folder/copy for each branch to avoid the corruption and conflicts I get after a pull.
@raguaviva
@raguaviva 9 жыл бұрын
thanks, I finally understood this
@zrajm
@zrajm 12 жыл бұрын
No. The index contain whatevery you've done 'git add' on = the stuff that will be commited when you run 'git commit'.
@wangervine7644
@wangervine7644 12 жыл бұрын
Excellent!
@peterrobbins7081
@peterrobbins7081 11 жыл бұрын
Wait, can I version control my C drive?
@Nick-rg1dw
@Nick-rg1dw 5 жыл бұрын
#TeamTrees
@MatticusF1nch
@MatticusF1nch 8 жыл бұрын
what was that git lol --all alias?
@matthias-vomr
@matthias-vomr 8 жыл бұрын
git log --graph --decorate --oneline --all
@tore28
@tore28 8 жыл бұрын
Damn youtube messing up my Git commands.
@ravishankargm9126
@ravishankargm9126 11 жыл бұрын
How can i download this video. Can any one help me..
@kuhanNagalingam
@kuhanNagalingam 10 жыл бұрын
You can download it from firefox , first you have to add on this (Download KZbin Videos as MP4 ) to firefox addons.mozilla.org/en-us/firefox/addon/download-youtube/
@coderide
@coderide 10 жыл бұрын
type ss before youtube you can download anything for example this video you can download www.sskzbin.info/www/bejne/kHW1ZWZpl5V7gLs
@williamherry
@williamherry 12 жыл бұрын
really nice video
@erik9817
@erik9817 11 жыл бұрын
gish85, it may have been a git "alias"? I'm not sure.
@runrin_
@runrin_ 4 жыл бұрын
hint: watch this video at 0.75x speed.
@peter10003
@peter10003 12 жыл бұрын
It was above my head, although breezy and perhaps informative. I understood about 20%, and I have been using github, and Mac's Xcode for over half a year. Not for beginners.
@joel6672
@joel6672 9 жыл бұрын
excelente, muy recomendado
@plutonimvamsi
@plutonimvamsi 13 жыл бұрын
good one
@19always
@19always 12 жыл бұрын
설명이 신속해서 좋아요. 하지만, 조금 어지럽기도 해요. git merge도 그림으로 잘 설명해 주네요.
@jaureguijosephgrcc
@jaureguijosephgrcc 12 жыл бұрын
very interesting...
@sdevilcry
@sdevilcry 12 жыл бұрын
Nice video
@ToneLearnerGuy
@ToneLearnerGuy 12 жыл бұрын
He uses the word 'hinky' at about 14:00m in. Etymology?
@haierlisp7381
@haierlisp7381 7 жыл бұрын
Thank you!
@AndyJoslin
@AndyJoslin 11 жыл бұрын
vim versus emacs: The eternal battle. There will never be a victor
@digarok
@digarok 11 жыл бұрын
My naive understanding is that rebase is fine for your own work, but not when working with others. It seems like it effectively removes (potentially) other people's commits from the history/log. I'm sorry I don't have a better explanations. I'm still wrapping my head around it myself. You may have many incremental changes you want to rebase into one point in time before doing a pull, for example. I'll be honest. I have no idea what I'm talking about.
@boborenebobo
@boborenebobo 8 жыл бұрын
command line, hello inception of humanity.
@framais
@framais 12 жыл бұрын
Awesome!
@prashantsingh1096
@prashantsingh1096 7 жыл бұрын
I can see lot of linked list and trees .
@flflflflflfl
@flflflflflfl 10 жыл бұрын
excellent!
@craigbarnes85
@craigbarnes85 13 жыл бұрын
@ryangannon I think the problem is more that you don't have a point of reference for the concepts he's explaining. If that's the case, you're not the intended audience. Why shouldn't he "do talks"? Because you don't like or don't understand them?
@rohitbhanot7809
@rohitbhanot7809 5 жыл бұрын
git log trick thing was really awesome.
@SHACHAR12345
@SHACHAR12345 13 жыл бұрын
Genius.
@foolhunger
@foolhunger 11 жыл бұрын
A little bit internals, but really good tutorial
@ryanthomaskendall
@ryanthomaskendall 13 жыл бұрын
Why is there not a simple video on what Git is, how to use it, why I would want to use it, and some examples? I don't care about databases or whatnot just cut to the chase!
@naveedhassan7399
@naveedhassan7399 10 жыл бұрын
Awesome.
@decilgang
@decilgang 13 жыл бұрын
Is this meant to help me or to hurt me? I'll gladly take your advice if it's meant to help me, however incase you didn't know I'm only 16 and there's not much for me to do...
@HuaJarry
@HuaJarry 6 жыл бұрын
oooh, awesome
@srikanthv2
@srikanthv2 11 жыл бұрын
Useful, but boy, the speaker talks FAST! I suggest getting the youtube HTML5 player; then hit ctrl+shift+J, and paste this text into the console: document.getElementsByTagName("video")[0].playbackRate = 0.75 This video is much more enjoyable and more informative at that speed.
@gunnarMyTube
@gunnarMyTube 11 жыл бұрын
Like juice concentrate; add water to your taste.
@akbrant2010
@akbrant2010 12 жыл бұрын
best part 1:08 ish
@mjkoepp
@mjkoepp 12 жыл бұрын
Great tutorial, but slow down!
@TomRodman
@TomRodman 11 жыл бұрын
Awesome talk, Scott, but seriously, take a deep breath (& a Xanax?), and calm down - I felt like I was going to have a stroke, or an aneurysm with you :-)
@selfdealloc
@selfdealloc 12 жыл бұрын
He is frantic as hell. It makes me crazy .. good presentation though.
@Qw3r3wQ
@Qw3r3wQ 2 жыл бұрын
28:34
@kuldeepkewat9698
@kuldeepkewat9698 7 жыл бұрын
kuldeep kumar kewat
@mgrycz
@mgrycz 12 жыл бұрын
true, true ;)
@Alythebully
@Alythebully 11 жыл бұрын
Man, you talk fast. Mind slowing down a bit?
@tore28
@tore28 8 жыл бұрын
Change playback speed to 0.5x to listen to Scott being drunk and slow talker :)
@Mr-WesleySnipzzz
@Mr-WesleySnipzzz 8 жыл бұрын
slow down the video speed
@UnleashedGraffixx
@UnleashedGraffixx 11 жыл бұрын
why?
Git From the Bits Up
55:45
InfoQ
Рет қаралды 97 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Git and GitHub Crash Course For Beginners | Complete Tutorial [2024]
1:53:19
Advanced Git: Graphs, Hashes, and Compression, Oh My!
1:09:00
How GitHub's Database Self-Destructed in 43 Seconds
12:04
Kevin Fang
Рет қаралды 1 МЛН
Introduction to Git - Branching and Merging
28:48
David Mahler
Рет қаралды 491 М.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 918 М.
So You Think You Know Git Part 2 - DevWorld 2024
23:02
GitButler
Рет қаралды 92 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1,3 МЛН
Introduction to NoSQL • Martin Fowler • GOTO 2012
54:52
GOTO Conferences
Рет қаралды 995 М.
Power Your Workflow With Git
1:10:17
Gallant Games
Рет қаралды 55 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,7 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН