
Lecture 6: Version Control (git) (2020)
About this video
A lecture from MIT's Missing Semester course covering version control with git. It builds up git from its data model rather than from commands.
Why it appears in the archive
HN frequently calls it the best single video on git because it teaches the underlying data structures.
AI-generated summary and labels from the source dataset; verify important details against the video. Source & credits.
From the Hacker News discussion
Video-wise there is hardly a better explainer on git than this one: 'Lecture 6: Version Control (git) (2020)' [VIDEO]
Read original comment ↗I personally find this to be the best video on git by far: [VIDEO] (MIT OpenCourseWare, Missing Semester). 1h25mn well spent
Read original comment ↗I've recommended it here previously, and I'll do it again, because it's so fantastic: Missing Semester's lecture on Git [VIDEO]
Read original comment ↗I think that this video should be considered mandatory viewing if you're a developer using Git — the whole lecture starts from the basic data structures involved and builds from there, as opposed to the way that it seems many people approach Git: "What command do I run?" [VIDEO]
Read original comment ↗The "Missing Semester" is a collection of video lectures from MIT that covers the fundamentals of command line, git, vim, and other tools often overlooked in computer science courses. As a self-taught developer, I found it to be an ideal introduction to git. The series made me also pick up vim, and I have not looked back since. [VIDEO]
Read original comment ↗The time is always there, but not letting getting angry about a change eat it up and providing an excuse ("I'll just procrastinate, that'll show them!") is key. That means taking the biggest hurdle to learning. Mngt/Life/You could have not forced the change, but that's how it goes. In case of git, try this: [VIDEO]
Read original comment ↗As a helpful aside, in my experience, there are only about a dozen or so Git commands you need to do ninety percent of your work. You don't need to become a git zen master right away. 1. git init: to start a new repository 2. git status: checks your current state 3. git add -A: To begin tracking files 4. git commit -am: Commit all changes in the working directory with a message added on 5. git switch -c [branch name]: Create a branch and switch to it. (git checkout -b will do the same thing) 6. git switch [branch name]: switch between named branches 7. git merge[branch]: merge named branch into current branch 8. git branch [branch name] -D : delete branch if not tracked 9. git log --pretty=oneline: show a graph of commit history. 11. git push 12. git clone [repo]: Copy of a project/file onto your local computer. The comments also contain some additional advice. Here is a good introductory video: [VIDEO]
Read original comment ↗Exactly. If anyone wants such a reference, there's the "Missing Semester" which is all about practicum. Lecture 6 is on Git: Lecture 6: Version Control (git) (2020) [VIDEO]
Read original comment ↗