1 00:00:00,480 --> 00:00:01,950 So I'll keep this short. 2 00:00:02,130 --> 00:00:07,590 Now that we have some code, some repo up on GitHub that actually has contents, it's not empty anymore. 3 00:00:07,620 --> 00:00:10,410 Even if the contents absolutely suck. 4 00:00:10,410 --> 00:00:12,570 They're garbage like this repo. 5 00:00:12,600 --> 00:00:15,090 I want to walk through what we're actually looking at. 6 00:00:15,090 --> 00:00:18,240 So of course we see the files, the actual contents here, right? 7 00:00:18,300 --> 00:00:19,670 We've got chapter one. 8 00:00:19,680 --> 00:00:23,910 We can look at that and inspect and read. 9 00:00:23,940 --> 00:00:24,720 Sure. 10 00:00:25,290 --> 00:00:27,690 We can also switch branches. 11 00:00:28,050 --> 00:00:29,640 So we only have two right now. 12 00:00:29,640 --> 00:00:33,420 Empty, which is that branch I made where almost everything was deleted. 13 00:00:33,570 --> 00:00:35,040 And then master. 14 00:00:36,070 --> 00:00:37,630 Notice if I go back to empty. 15 00:00:37,630 --> 00:00:43,750 It tells us this branch has one commit that master does not have, but it also is missing one commit 16 00:00:43,750 --> 00:00:45,040 that master has. 17 00:00:45,820 --> 00:00:53,720 We can see here most recent push to this branch happened 4 minutes ago and we can also go back to master. 18 00:00:53,740 --> 00:00:54,760 It doesn't really matter. 19 00:00:55,120 --> 00:01:01,420 We can see the commits listed here, the most recent commit that affected each one of these files. 20 00:01:01,420 --> 00:01:07,390 So when I made chapter four that that text file that was part of the commit begin chapter four. 21 00:01:07,960 --> 00:01:14,590 When I added headings to files, you can see that's the most recent change to this and this this one 22 00:01:14,590 --> 00:01:15,760 and the outline. 23 00:01:16,360 --> 00:01:20,710 If you recall a while ago I added those headings in anyway. 24 00:01:20,710 --> 00:01:27,430 If I want to see all the commits I can click here where it says 13 commits and I can see just a visual 25 00:01:27,430 --> 00:01:29,050 representation of each commit. 26 00:01:29,170 --> 00:01:30,940 So here is where I begin. 27 00:01:31,390 --> 00:01:31,840 Yeah. 28 00:01:31,840 --> 00:01:36,010 If you have multiple pages, like lots and lots of commits, you can go between pages. 29 00:01:36,010 --> 00:01:37,690 But this is my most recent commit. 30 00:01:38,200 --> 00:01:40,450 If I click, what do we see? 31 00:01:40,480 --> 00:01:46,090 Well, I just started with these two files outlined txt and characters text. 32 00:01:47,470 --> 00:01:48,970 If I look at a different commit. 33 00:01:49,000 --> 00:01:51,940 How about when I. 34 00:01:52,090 --> 00:01:53,140 What did I do? 35 00:01:53,170 --> 00:01:55,840 How about removed extra blank lines in chapter two? 36 00:01:56,530 --> 00:02:00,040 If I scroll down, you'll see highlighted in red. 37 00:02:00,370 --> 00:02:01,870 Those are the two lines that were removed. 38 00:02:01,870 --> 00:02:03,280 And this is all that was affected. 39 00:02:03,280 --> 00:02:05,500 This one file, right? 40 00:02:05,890 --> 00:02:09,039 We see some other stuff like when I rename Gatsby to Gatsby. 41 00:02:09,340 --> 00:02:10,960 Lots of files impacted. 42 00:02:11,440 --> 00:02:13,150 You can see all of those impacts here. 43 00:02:13,150 --> 00:02:14,350 This line changed. 44 00:02:14,380 --> 00:02:18,160 Gatsby became Gatsby and all these other files, too. 45 00:02:18,670 --> 00:02:21,190 So I can see all those commits on the master branch. 46 00:02:21,220 --> 00:02:23,630 The most recent one is Begin Chapter four. 47 00:02:23,650 --> 00:02:30,540 If I switch to empty, the most recent commit is delete most things, which in the last video you saw, 48 00:02:30,550 --> 00:02:36,580 I deleted quite a few files and on each of these commits I see the commit message obviously, and then 49 00:02:36,580 --> 00:02:38,920 I also see the commit hash. 50 00:02:39,130 --> 00:02:45,460 And then for some of them that have much longer commits like this one, I can see the entire commit 51 00:02:45,460 --> 00:02:46,060 message. 52 00:02:46,060 --> 00:02:51,250 This is when I demonstrated how to set up vs code to make a commit message that's much longer. 53 00:02:51,460 --> 00:02:57,040 So I can see the whole commit message here and then I can see the files impacted and I can leave a comment 54 00:02:57,040 --> 00:02:57,940 if I want to. 55 00:02:58,570 --> 00:03:03,250 Probably not going to because I'm not collaborating with anyone, but if I want to, I can leave comments 56 00:03:03,250 --> 00:03:08,080 here and I don't know, revisit them and come back and look at my comments. 57 00:03:08,080 --> 00:03:13,870 But this is actually a very important part of discussing changes once you start working with other people. 58 00:03:13,870 --> 00:03:16,090 And that's pretty much all we need to cover for now. 59 00:03:16,120 --> 00:03:20,440 Eventually we'll learn about things like pull requests and how to make pull requests, how to compare 60 00:03:20,440 --> 00:03:21,040 things. 61 00:03:21,220 --> 00:03:22,840 We are not at that point yet. 62 00:03:22,840 --> 00:03:25,450 That's going to come up when we talk about workflows. 63 00:03:25,780 --> 00:03:27,700 But yeah, that's pretty much it. 64 00:03:27,940 --> 00:03:28,960 Switch branches here. 65 00:03:28,960 --> 00:03:32,350 That's probably the most hidden thing that sometimes students miss. 66 00:03:32,680 --> 00:03:38,020 If you don't see your changes showing up and if you have multiple branches, make sure you switch to 67 00:03:38,020 --> 00:03:40,090 the correct branch to see those changes.