title
GitHub Basics Tutorial - How to Use GitHub

description
Learn the basics of how to use GitHub. This video covers: ⌨️ (00:00) Part 1: Creating a new repository and adding files. ⌨️ (15:21) Part 2: What branches are and how to create them. ⌨️ (23:12) Part 3: Making, reviewing, and merging pull requests. This tutorial was created by Tiffany Thompson. Check out her YouTube channel: https://www.youtube.com/Tiffalwaysfly -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://medium.freecodecamp.org

detail
{'title': 'GitHub Basics Tutorial - How to Use GitHub', 'heatmap': [{'end': 213.717, 'start': 150.801, 'weight': 0.77}, {'end': 1488.396, 'start': 1423.052, 'weight': 0.886}, {'end': 1605.274, 'start': 1602.273, 'weight': 0.936}], 'summary': 'This tutorial covers creating a new project on github with a focus on readme, using git for file management and workflow, meaningful messages and pushing projects, managing git branches for collaboration, making pull requests, and branching and merging for an up-to-date master branch.', 'chapters': [{'end': 394.77, 'segs': [{'end': 120.338, 'src': 'embed', 'start': 88.795, 'weight': 0, 'content': [{'end': 109.473, 'text': "what this readme does is the readme is basically going to allow you the ability others the ability to to read what's going on before they decide to um want to either make a forker website or clone it,", 'start': 88.795, 'duration': 20.678}, {'end': 111.014, 'text': 'or of this sort.', 'start': 109.473, 'duration': 1.541}, {'end': 112.535, 'text': 'So the README is important.', 'start': 111.174, 'duration': 1.361}, {'end': 115.276, 'text': "That's where you put the technologies that you're using.", 'start': 112.995, 'duration': 2.281}, {'end': 120.338, 'text': "That's what you use to give instructions to the user if there's additional instructions.", 'start': 115.656, 'duration': 4.682}], 'summary': 'Readme provides important info on technologies and instructions for users.', 'duration': 31.543, 'max_score': 88.795, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp488795.jpg'}, {'end': 213.717, 'src': 'heatmap', 'start': 150.801, 'weight': 0.77, 'content': [{'end': 158.464, 'text': "So what I am going to do is I'm going to clone this.", 'start': 150.801, 'duration': 7.663}, {'end': 165.057, 'text': "So I'm going to copy this URL so I can put it here.", 'start': 159.775, 'duration': 5.282}, {'end': 171.239, 'text': "So the command that we're going to use is get clone and then paste the link.", 'start': 165.657, 'duration': 5.582}, {'end': 180.741, 'text': "And this is going to clone what we have so far inside of our repo that we're in.", 'start': 172.319, 'duration': 8.422}, {'end': 182.862, 'text': "And in this case, it's testing one, two, three.", 'start': 180.961, 'duration': 1.901}, {'end': 183.862, 'text': "So we're going to enter.", 'start': 182.962, 'duration': 0.9}, {'end': 186.983, 'text': 'Okay, cool.', 'start': 186.243, 'duration': 0.74}, {'end': 188.984, 'text': 'Okay, now clear this.', 'start': 187.003, 'duration': 1.981}, {'end': 192.555, 'text': 'Clearing just takes you back to the top.', 'start': 190.933, 'duration': 1.622}, {'end': 199.082, 'text': 'Now, if I were to LS, LS allows you to list the items that are in this particular folder.', 'start': 193.255, 'duration': 5.827}, {'end': 208.171, 'text': 'And right now, we have a folder inside of here called Testing123, which is the exact name of our repository.', 'start': 199.782, 'duration': 8.389}, {'end': 213.717, 'text': 'Now, if I wanted to, I could have just created a folder on my desktop.', 'start': 208.612, 'duration': 5.105}], 'summary': "Cloned repository using 'git clone' command, verified using 'ls'.", 'duration': 62.916, 'max_score': 150.801, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4150801.jpg'}], 'start': 3.769, 'title': 'Creating a new project on github', 'summary': 'Covers the process of creating a new project on github, including adding a description and readme, and using the command line to clone the repository. it emphasizes the importance of readme for providing instructions and listing technologies used.', 'chapters': [{'end': 394.77, 'start': 3.769, 'title': 'Intro to github: posting a new project', 'summary': 'Covers the process of creating a new project on github, including adding a description and readme, and using the command line to clone the repository, emphasizing the importance of readme for providing instructions and listing technologies used.', 'duration': 391.001, 'highlights': ['The process of creating a new project on GitHub involves adding a description and README, emphasizing the importance of README for providing instructions and listing technologies used.', 'Using the command line to clone the repository is demonstrated, with an emphasis on the importance of the README for providing instructions and listing technologies used.']}], 'duration': 391.001, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp43769.jpg', 'highlights': ['The process of creating a new project on GitHub involves adding a description and README, emphasizing the importance of README for providing instructions and listing technologies used.', 'Using the command line to clone the repository is demonstrated, with an emphasis on the importance of the README for providing instructions and listing technologies used.']}, {'end': 606.109, 'segs': [{'end': 471.68, 'src': 'embed', 'start': 428.906, 'weight': 1, 'content': [{'end': 435.931, 'text': "And as you can see, I'm inside of this directory, desktop123, and then here is the app that I'm in.", 'start': 428.906, 'duration': 7.025}, {'end': 439.573, 'text': "So I'm just going to say test.html.", 'start': 436.771, 'duration': 2.802}, {'end': 444.176, 'text': 'And everything tests.', 'start': 439.593, 'duration': 4.583}, {'end': 456.551, 'text': 'Okay, so now we have a new file and then we also have some changes.', 'start': 452.429, 'duration': 4.122}, {'end': 469.399, 'text': "So if I go back to my command line and I do a git status, I always recommend doing a git status whenever you're working with git,", 'start': 457.532, 'duration': 11.867}, {'end': 471.68, 'text': 'especially if you get a little lost.', 'start': 469.399, 'duration': 2.281}], 'summary': 'Working in directory desktop123, created test.html, and made changes. recommended using git status while working with git.', 'duration': 42.774, 'max_score': 428.906, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4428906.jpg'}, {'end': 525.717, 'src': 'embed', 'start': 499.31, 'weight': 0, 'content': [{'end': 503.29, 'text': 'And then it says use git add and or git commit dash A.', 'start': 499.31, 'duration': 3.98}, {'end': 511.052, 'text': "And so it's basically telling you what you can do, right? And it also says at the top here, use git add and then the file name.", 'start': 503.29, 'duration': 7.762}, {'end': 513.948, 'text': 'and to update what will be committed.', 'start': 511.846, 'duration': 2.102}, {'end': 518.691, 'text': "okay, so i'm going to do git add myself.", 'start': 513.948, 'duration': 4.743}, {'end': 520.753, 'text': 'personally i do the period.', 'start': 518.691, 'duration': 2.062}, {'end': 524.155, 'text': 'i do get add period and that adds all the files.', 'start': 520.753, 'duration': 3.402}, {'end': 525.717, 'text': 'um, usually,', 'start': 524.155, 'duration': 1.562}], 'summary': 'The transcript discusses using git add and git commit for updating files in git repository.', 'duration': 26.407, 'max_score': 499.31, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4499310.jpg'}, {'end': 584.243, 'src': 'embed', 'start': 553.412, 'weight': 4, 'content': [{'end': 561.196, 'text': 'Right And then you can do the same thing with this and then paste this as well.', 'start': 553.412, 'duration': 7.784}, {'end': 566.835, 'text': "So it's basically saying you want to add test HTML and readme.html.", 'start': 562.253, 'duration': 4.582}, {'end': 571.557, 'text': 'And then if I enter, I can do another get status.', 'start': 567.735, 'duration': 3.822}, {'end': 575.139, 'text': 'Okay, Now instead of red.', 'start': 572.257, 'duration': 2.882}, {'end': 581.502, 'text': "now, instead of being in red like it was up here, it's green, which means hey, we're almost there right?", 'start': 575.139, 'duration': 6.363}, {'end': 584.243, 'text': 'So these are changes that need to be committed.', 'start': 582.082, 'duration': 2.161}], 'summary': 'Demonstrating the process of adding files and checking status, leading to successful changes to be committed.', 'duration': 30.831, 'max_score': 553.412, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4553412.jpg'}], 'start': 396.712, 'title': 'Using git for file management and basic workflow', 'summary': "Covers using git for adding and tracking changes in files, emphasizing git status and git add, and explains the basic git workflow, including adding files, checking status, and committing changes, with an emphasis on using 'git commit -m' for adding a commit message.", 'chapters': [{'end': 552.131, 'start': 396.712, 'title': 'Using git for file management', 'summary': 'Discusses using git for adding and tracking changes in files, emphasizing the importance of git status and git add in managing file modifications and additions.', 'duration': 155.419, 'highlights': ['The importance of using git status when working with git for tracking modifications and additions.', 'Using git add period to add all files, and git add to add specific files for committing to the repository.', 'The process of utilizing git for adding and tracking changes in files, including new file additions and modifications.', "The significance of following git's recommendations for managing file modifications and additions.", 'The explanation of untracked files in Git and the recommended commands to update what will be committed.']}, {'end': 606.109, 'start': 553.412, 'title': 'Basic git workflow', 'summary': "Explains the basic git workflow, including adding files, checking status, and committing changes, with an emphasis on using 'git commit -m' for adding a commit message.", 'duration': 52.697, 'highlights': ["By using 'git status', you can track the changes made to the files in the repository, where red indicates uncommitted changes and green signifies that the changes are ready to be committed.", "Using 'git commit -m' is emphasized for adding a commit message when committing changes to the repository."]}], 'duration': 209.397, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4396712.jpg', 'highlights': ['The process of utilizing git for adding and tracking changes in files, including new file additions and modifications.', 'Using git status when working with git for tracking modifications and additions.', "Using 'git commit -m' is emphasized for adding a commit message when committing changes to the repository.", 'The importance of using git status when working with git for tracking modifications and additions.', "By using 'git status', you can track the changes made to the files in the repository, where red indicates uncommitted changes and green signifies that the changes are ready to be committed."]}, {'end': 920.644, 'segs': [{'end': 633.091, 'src': 'embed', 'start': 606.77, 'weight': 2, 'content': [{'end': 613.592, 'text': "These messages are really important when you're working in a group, and they're also important when you have your own project,", 'start': 606.77, 'duration': 6.822}, {'end': 619.614, 'text': "because they're kind of like little reminders of what you did to these files that you're in.", 'start': 613.592, 'duration': 6.022}, {'end': 621.055, 'text': "So it's very important.", 'start': 619.975, 'duration': 1.08}, {'end': 626.277, 'text': 'I tell everybody, like, make your messages count.', 'start': 622.055, 'duration': 4.222}, {'end': 629.19, 'text': "because one day you're gonna go back and read them.", 'start': 626.909, 'duration': 2.281}, {'end': 633.091, 'text': "sometimes mine can get a little crazy, especially while I'm working.", 'start': 629.19, 'duration': 3.901}], 'summary': 'Concise, meaningful messages in group work or projects are crucial for future reference and productivity.', 'duration': 26.321, 'max_score': 606.77, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4606770.jpg'}, {'end': 676.191, 'src': 'embed', 'start': 649.677, 'weight': 0, 'content': [{'end': 654.679, 'text': 'the whole point of github is so that you can track your changes and everything,', 'start': 649.677, 'duration': 5.002}, {'end': 664.227, 'text': "and I feel like if you're not tracking what you're actually doing like in an actual message, if it doesn't make any sense, then it's kind of,", 'start': 654.679, 'duration': 9.548}, {'end': 665.528, 'text': 'you know, ridiculous really.', 'start': 664.227, 'duration': 1.301}, {'end': 672.17, 'text': 'Cause I mean you can go back and look at the code or whatever, but it makes more sense to go ahead and be like okay,', 'start': 665.608, 'duration': 6.562}, {'end': 676.191, 'text': 'this is what I actually did in a message, rather than reading through all the files.', 'start': 672.17, 'duration': 4.021}], 'summary': 'Github is for tracking changes, making sense of actions with messages, not just reading files.', 'duration': 26.514, 'max_score': 649.677, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4649677.jpg'}, {'end': 855.011, 'src': 'embed', 'start': 825.343, 'weight': 1, 'content': [{'end': 829.044, 'text': 'i thought it was going to look, but hmm, something to think about.', 'start': 825.343, 'duration': 3.701}, {'end': 835.185, 'text': 'and then it has my html here that i had just made.', 'start': 829.044, 'duration': 6.141}, {'end': 836.145, 'text': "so that's how you do it.", 'start': 835.185, 'duration': 0.96}, {'end': 844.729, 'text': "if you're looking to push up your project to GitHub, this is pretty much the directions you need in order to do it.", 'start': 836.145, 'duration': 8.584}, {'end': 855.011, 'text': 'If we want to recount what we did, we basically created a new repo in our or repository in our interface, which is over here.', 'start': 845.029, 'duration': 9.982}], 'summary': 'Process for pushing a project to github was explained, creating a new repo in the interface.', 'duration': 29.668, 'max_score': 825.343, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4825343.jpg'}, {'end': 930.12, 'src': 'embed', 'start': 892.826, 'weight': 5, 'content': [{'end': 894.847, 'text': "Any other changes, you'll do the same thing.", 'start': 892.826, 'duration': 2.021}, {'end': 896.228, 'text': "You'll add them.", 'start': 894.927, 'duration': 1.301}, {'end': 902.707, 'text': 'And then you could add each individual file if you want, like I did here.', 'start': 897.743, 'duration': 4.964}, {'end': 910.715, 'text': "Or you can do git add a, which you won't have to list them all out.", 'start': 903.067, 'duration': 7.648}, {'end': 912.096, 'text': 'It will just add them all for you.', 'start': 910.795, 'duration': 1.301}, {'end': 916.14, 'text': 'And then commit and push.', 'start': 914.038, 'duration': 2.102}, {'end': 917.201, 'text': "That's pretty much it.", 'start': 916.4, 'duration': 0.801}, {'end': 918.982, 'text': "So don't be afraid of the command line, guys.", 'start': 917.241, 'duration': 1.741}, {'end': 920.143, 'text': "It's your friend.", 'start': 919.443, 'duration': 0.7}, {'end': 920.644, 'text': 'Trust me.', 'start': 920.203, 'duration': 0.441}, {'end': 930.12, 'text': "We're going to be working on branching, creating your own branch and then pushing up to your branch.", 'start': 924.858, 'duration': 5.262}], 'summary': 'Explanation of adding changes using git and encouragement to use the command line for branching and pushing.', 'duration': 37.294, 'max_score': 892.826, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4892826.jpg'}], 'start': 606.77, 'title': 'Meaningful messages and pushing projects to github', 'summary': 'Emphasizes the significance of meaningful messages in github for tracking changes and updates, enhancing productivity and collaboration. it also details the process of pushing a project to github, covering repo creation, local cloning, file addition, committing, and pushing to the repository.', 'chapters': [{'end': 672.17, 'start': 606.77, 'title': 'Importance of meaningful messages in github', 'summary': 'Emphasizes the importance of meaningful messages in github for tracking changes and updates, as it provides a clear record of the work done and facilitates future understanding of the code, enhancing productivity and collaboration.', 'duration': 65.4, 'highlights': ['Meaningful messages in GitHub are crucial for tracking changes and updates, providing clear records of the work done and facilitating future understanding of the code, ultimately enhancing productivity and collaboration.', 'Emphasizes the importance of making messages count and ensuring they make sense, as they serve as reminders and can be referenced in the future, contributing to effective project management and individual productivity.', 'Stresses the significance of tracking changes and updates in GitHub, especially when working in a group or on individual projects, to maintain clarity and understanding of the files being used, ultimately contributing to efficient project management and code maintenance.']}, {'end': 920.644, 'start': 672.17, 'title': 'Pushing project to github', 'summary': 'Details the process of pushing a project to github, including creating a new repo, cloning it to the local machine, adding and committing files, and pushing them to the repository.', 'duration': 248.474, 'highlights': ['The chapter covers the process of pushing a project to GitHub, including creating a new repo, cloning it to the local machine, adding and committing files, and pushing them to the repository.', "The importance of using 'git status' to track changes and ensure clarity during the process is emphasized.", 'The significance of using the command line for adding, committing, and pushing files to the repository is highlighted as it streamlines the process and helps in managing the project effectively.']}], 'duration': 313.874, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4606770.jpg', 'highlights': ['Meaningful messages in GitHub are crucial for tracking changes and updates, enhancing productivity and collaboration.', 'The chapter covers the process of pushing a project to GitHub, including creating a new repo, cloning it to the local machine, adding and committing files, and pushing them to the repository.', 'Emphasizes the importance of making messages count and ensuring they make sense, as they serve as reminders and can be referenced in the future, contributing to effective project management and individual productivity.', 'Stresses the significance of tracking changes and updates in GitHub, especially when working in a group or on individual projects, to maintain clarity and understanding of the files being used, ultimately contributing to efficient project management and code maintenance.', "The importance of using 'git status' to track changes and ensure clarity during the process is emphasized.", 'The significance of using the command line for adding, committing, and pushing files to the repository is highlighted as it streamlines the process and helps in managing the project effectively.']}, {'end': 1191.723, 'segs': [{'end': 983.258, 'src': 'embed', 'start': 924.858, 'weight': 0, 'content': [{'end': 930.12, 'text': "We're going to be working on branching, creating your own branch and then pushing up to your branch.", 'start': 924.858, 'duration': 5.262}, {'end': 937.343, 'text': "So branching is important because when you're working as a team, you'll want to be working on your own branch.", 'start': 930.6, 'duration': 6.743}, {'end': 942.225, 'text': 'So what that means is you have a copy of whatever is in master.', 'start': 937.764, 'duration': 4.461}, {'end': 945.087, 'text': 'So this would be my master.', 'start': 942.866, 'duration': 2.221}, {'end': 950.729, 'text': "And if I create a branch, then that is mine, right? That's my branch.", 'start': 945.647, 'duration': 5.082}, {'end': 952.53, 'text': "That's my copy of master.", 'start': 950.749, 'duration': 1.781}, {'end': 960.561, 'text': 'And with that copy of master, I can make my own changes and then push them up to my branch.', 'start': 953.211, 'duration': 7.35}, {'end': 969.693, 'text': "And then, when I get done, say that I'm working on a feature to add a navigation to the website right?", 'start': 961.882, 'duration': 7.811}, {'end': 975.414, 'text': 'I make my navigation in my branch and then I do a pull request.', 'start': 970.091, 'duration': 5.323}, {'end': 983.258, 'text': 'the team looks at it, okays it after changes are made and then it gets pushed to master.', 'start': 975.414, 'duration': 7.844}], 'summary': 'Using branching in team workflow to make and push changes effectively.', 'duration': 58.4, 'max_score': 924.858, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4924858.jpg'}, {'end': 1137.792, 'src': 'embed', 'start': 1084.917, 'weight': 3, 'content': [{'end': 1094.641, 'text': "Now, another good thing is that when you are inside of your text editor and it's hooked up to your GitHub, it'll tell you this one's a little small.", 'start': 1084.917, 'duration': 9.724}, {'end': 1095.681, 'text': 'you may not be able to see it.', 'start': 1094.641, 'duration': 1.04}, {'end': 1099.462, 'text': "But at the bottom, it says, Hey, I'm on my test branch.", 'start': 1096.001, 'duration': 3.461}, {'end': 1107.152, 'text': 'If I moved back very quickly, tell me tells me I moved to master.', 'start': 1100.143, 'duration': 7.009}, {'end': 1110.853, 'text': 'And if I go here, it switched back to master.', 'start': 1107.852, 'duration': 3.001}, {'end': 1116.035, 'text': "So that's kind of a good indication that you are on the right branch.", 'start': 1111.473, 'duration': 4.562}, {'end': 1119.756, 'text': 'Believe it or not, I use that all day,', 'start': 1117.875, 'duration': 1.881}, {'end': 1125.478, 'text': "making sure I'm not making updates to the master branch and pushing things up that aren't supposed to be pushed up yet.", 'start': 1119.756, 'duration': 5.722}, {'end': 1129.299, 'text': 'Although I have made that mistake before, but hey, it happens.', 'start': 1126.558, 'duration': 2.741}, {'end': 1133.28, 'text': "So we are in our test branch, what I'm going to do.", 'start': 1129.919, 'duration': 3.361}, {'end': 1137.792, 'text': "Oh, I'm going to go here and I'm going to refresh.", 'start': 1133.3, 'duration': 4.492}], 'summary': 'Github integration in text editor helps avoid mistakes', 'duration': 52.875, 'max_score': 1084.917, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41084917.jpg'}, {'end': 1198.369, 'src': 'embed', 'start': 1169.613, 'weight': 5, 'content': [{'end': 1174.815, 'text': "If you want to check that out, I'll link that in the description bar above and you can check that out.", 'start': 1169.613, 'duration': 5.202}, {'end': 1180.057, 'text': "So I'm just going to add a list item tag and it's going to just say test in it.", 'start': 1175.776, 'duration': 4.281}, {'end': 1181.978, 'text': "That's it.", 'start': 1181.518, 'duration': 0.46}, {'end': 1184.819, 'text': "So now I'm going to do a get status.", 'start': 1183.058, 'duration': 1.761}, {'end': 1189.301, 'text': 'All right, so now we have some things.', 'start': 1186.599, 'duration': 2.702}, {'end': 1191.723, 'text': 'It tells me that I have some changes.', 'start': 1189.942, 'duration': 1.781}, {'end': 1198.369, 'text': "A file has been modified, and these changes are not committed, which means they're not saved, which means they are not on my branch.", 'start': 1191.743, 'duration': 6.626}], 'summary': 'Demonstration of adding a list item tag, checking status, and identifying uncommitted changes.', 'duration': 28.756, 'max_score': 1169.613, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41169613.jpg'}], 'start': 924.858, 'title': 'Managing git branches', 'summary': 'Covers the importance of branching in team collaboration, creating, switching, and managing branches in git, emphasizing the process of updating and pushing changes from the master branch, with practical examples such as adding a navigation feature and a list item tag.', 'chapters': [{'end': 983.258, 'start': 924.858, 'title': 'Branching and pushing up to your branch', 'summary': 'Discusses the importance of branching in team collaboration, explaining the process of creating and pushing changes to a personal branch before merging to the master branch, with an example of adding a navigation feature.', 'duration': 58.4, 'highlights': ["When working as a team, it's important to create and work on your own branch to avoid conflicts and ensure independent development.", 'Creating a branch allows for making and pushing changes to a personal copy of the master branch, enabling independent development and experimentation.', 'After completing a feature, a pull request is made for the team to review, approve, and merge the changes into the master branch.']}, {'end': 1191.723, 'start': 983.258, 'title': 'Managing branches in git', 'summary': 'Discusses the importance of the master branch, creating and switching branches, and using git status to track changes, emphasizing the need to update and push changes from the master branch into production, with examples of creating a new test branch and adding a list item tag to the project.', 'duration': 208.465, 'highlights': ['Emphasizing the need to update and push changes from the master branch into production', 'Examples of creating a new test branch and adding a list item tag to the project', 'Importance of using git status to track changes']}], 'duration': 266.865, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp4924858.jpg', 'highlights': ['Creating a branch allows for making and pushing changes to a personal copy of the master branch, enabling independent development and experimentation.', "When working as a team, it's important to create and work on your own branch to avoid conflicts and ensure independent development.", 'After completing a feature, a pull request is made for the team to review, approve, and merge the changes into the master branch.', 'Emphasizing the need to update and push changes from the master branch into production', 'Importance of using git status to track changes', 'Examples of creating a new test branch and adding a list item tag to the project']}, {'end': 1563.76, 'segs': [{'end': 1217.261, 'src': 'embed', 'start': 1191.743, 'weight': 2, 'content': [{'end': 1198.369, 'text': "A file has been modified, and these changes are not committed, which means they're not saved, which means they are not on my branch.", 'start': 1191.743, 'duration': 6.626}, {'end': 1202.312, 'text': "They're not saved to my branch, so to speak.", 'start': 1200.13, 'duration': 2.182}, {'end': 1208.637, 'text': "So I'm going to save them to my branch because I want to record this change because it's an important change for my project.", 'start': 1202.812, 'duration': 5.825}, {'end': 1210.699, 'text': "So I'm going to do git add.", 'start': 1209.298, 'duration': 1.401}, {'end': 1214.939, 'text': 'copy this, paste it.', 'start': 1213.598, 'duration': 1.341}, {'end': 1217.261, 'text': 'The next thing is get commit.', 'start': 1215.459, 'duration': 1.802}], 'summary': 'Uncommitted file changes saved to branch using git add and git commit.', 'duration': 25.518, 'max_score': 1191.743, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41191743.jpg'}, {'end': 1279.872, 'src': 'embed', 'start': 1251.476, 'weight': 1, 'content': [{'end': 1254.059, 'text': "so it's pushing my changes to this branch.", 'start': 1251.476, 'duration': 2.583}, {'end': 1257.421, 'text': 'now, if i go over here, we notice some changes happening.', 'start': 1254.64, 'duration': 2.781}, {'end': 1259.242, 'text': 'let me refresh this real quick.', 'start': 1257.421, 'duration': 1.821}, {'end': 1263.784, 'text': 'now it says i have two branches, whereas before it said i only had one.', 'start': 1259.242, 'duration': 4.542}, {'end': 1270.007, 'text': "so if i click on it, it now shows this test branch is my branch and it's an active branch.", 'start': 1263.784, 'duration': 6.223}, {'end': 1277.251, 'text': 'okay, and then it also shows me hey, you just recently pushed to this.', 'start': 1270.007, 'duration': 7.244}, {'end': 1279.872, 'text': 'do you want to make a pull request?', 'start': 1277.251, 'duration': 2.621}], 'summary': 'Pushed changes to a branch, now have two branches, including test branch, and prompted to make a pull request.', 'duration': 28.396, 'max_score': 1251.476, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41251476.jpg'}, {'end': 1324.435, 'src': 'embed', 'start': 1296.599, 'weight': 3, 'content': [{'end': 1307.829, 'text': 'So if I wanted to name a branch name is test here, whatever you want to name it, you could have underscores.', 'start': 1296.599, 'duration': 11.23}, {'end': 1311.432, 'text': 'You can have dashes if you wanted to.', 'start': 1308.489, 'duration': 2.943}, {'end': 1314.371, 'text': 'You can do camel case as well.', 'start': 1312.17, 'duration': 2.201}, {'end': 1320.493, 'text': "And then if I enter, that's just created a new branch, which I don't really need.", 'start': 1315.591, 'duration': 4.902}, {'end': 1324.435, 'text': 'But you see here, this is now my branch name.', 'start': 1320.933, 'duration': 3.502}], 'summary': 'Demonstrates creating a new branch using various naming conventions: underscores, dashes, and camel case.', 'duration': 27.836, 'max_score': 1296.599, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41296599.jpg'}, {'end': 1418.927, 'src': 'embed', 'start': 1386.854, 'weight': 0, 'content': [{'end': 1389.895, 'text': 'some of them camel case, some of them dashes, some of them underscores.', 'start': 1386.854, 'duration': 3.041}, {'end': 1392.713, 'text': 'it gets to be a little crazy to look at.', 'start': 1389.895, 'duration': 2.818}, {'end': 1402.618, 'text': "So what we're going to do now is we're going to do a pull request at this point.", 'start': 1397.055, 'duration': 5.563}, {'end': 1411.363, 'text': "So we've got our code up on to GitHub so far, we've created a branch, we know how to name our branch.", 'start': 1402.738, 'duration': 8.625}, {'end': 1416.285, 'text': 'Now we want to make a pull request and have others review it.', 'start': 1411.963, 'duration': 4.322}, {'end': 1418.927, 'text': "Alright, so let's get started.", 'start': 1416.846, 'duration': 2.081}], 'summary': 'Discussing code formatting and creating a pull request for review on github.', 'duration': 32.073, 'max_score': 1386.854, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41386854.jpg'}, {'end': 1488.396, 'src': 'heatmap', 'start': 1423.052, 'weight': 0.886, 'content': [{'end': 1433.255, 'text': "I'm in the correct folder that I'm in and I've got my GitHub up and I've also got my web page up here.", 'start': 1423.052, 'duration': 10.203}, {'end': 1437.957, 'text': 'If I want to make a pull request on the branch, I just go here to branches.', 'start': 1434.396, 'duration': 3.561}, {'end': 1445.379, 'text': "Sometimes it'll show up on that main page in yellow if there's been recent changes, but for mine it didn't show up.", 'start': 1438.557, 'duration': 6.822}, {'end': 1448.68, 'text': 'But this is another way that you can make a pull request.', 'start': 1445.459, 'duration': 3.221}, {'end': 1451.687, 'text': 'So you just click over here, new pull request.', 'start': 1449.286, 'duration': 2.401}, {'end': 1460.112, 'text': 'Okay And it has right here, this is the commit message that I had.', 'start': 1453.828, 'duration': 6.284}, {'end': 1463.834, 'text': 'And if I want to, I could add additional things in this here box.', 'start': 1460.692, 'duration': 3.142}, {'end': 1488.396, 'text': 'I can say, this is normally where you would put a more descriptive description of what it is you accomplished with this branch and pull request.', 'start': 1464.634, 'duration': 23.762}], 'summary': 'Guidance on making a pull request and adding a descriptive commit message for the branch.', 'duration': 65.344, 'max_score': 1423.052, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41423052.jpg'}, {'end': 1563.76, 'src': 'embed', 'start': 1518.961, 'weight': 4, 'content': [{'end': 1519.762, 'text': "That's what this is.", 'start': 1518.961, 'duration': 0.801}, {'end': 1525.326, 'text': "And if you haven't already, you could assign yourself to this.", 'start': 1522.124, 'duration': 3.202}, {'end': 1530.229, 'text': "You could assign others if you're in a group as well.", 'start': 1526.086, 'duration': 4.143}, {'end': 1536.402, 'text': 'You can request someone to review it, those types of things, labels, projects, milestones.', 'start': 1530.779, 'duration': 5.623}, {'end': 1539.083, 'text': "They've got a lot of things in here to keep you organized.", 'start': 1536.762, 'duration': 2.321}, {'end': 1540.624, 'text': 'Create pull request.', 'start': 1539.503, 'duration': 1.121}, {'end': 1543.865, 'text': 'All right, great.', 'start': 1543.345, 'duration': 0.52}, {'end': 1553.109, 'text': 'So all it has is my commit message here, the number of pull requests that it is.', 'start': 1544.405, 'duration': 8.704}, {'end': 1554.27, 'text': 'This happens to be number three.', 'start': 1553.149, 'duration': 1.121}, {'end': 1558.612, 'text': 'And then it has my description if I had any additional information.', 'start': 1555.591, 'duration': 3.021}, {'end': 1561.698, 'text': "Now you could easily, since there's no conflicts.", 'start': 1559.116, 'duration': 2.582}, {'end': 1563.76, 'text': 'you could easily just say merge, pull request,', 'start': 1561.698, 'duration': 2.062}], 'summary': 'The system allows for organizing tasks and creating pull requests, with the ability to assign and review, and track progress with labels, projects, and milestones.', 'duration': 44.799, 'max_score': 1518.961, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41518961.jpg'}], 'start': 1191.743, 'title': 'Managing git branches and making pull requests', 'summary': 'Covers managing git branches, including saving changes, committing, and creating/naming branches. it also explains making a pull request on github with details on creating a branch, naming it, adding a description, and requesting reviews.', 'chapters': [{'end': 1386.854, 'start': 1191.743, 'title': 'Managing git branches and commits', 'summary': 'Explains the process of saving changes to a branch, committing them, pushing to a specific branch, and creating and naming branches, emphasizing the importance of branches for making and testing changes before pushing to master.', 'duration': 195.111, 'highlights': ['The chapter emphasizes the importance of saving changes to a branch before committing, with a focus on recording important changes for the project.', 'The process of committing changes and pushing them to a specific branch is highlighted, with a mention of pushing changes to a named branch and the impact on the active branch.', 'The significance of creating and naming branches is explained, with examples of naming conventions such as using dashes, underscores, and camel case for branch names.']}, {'end': 1563.76, 'start': 1386.854, 'title': 'Making a pull request on github', 'summary': 'Explains the process of creating and making a pull request on github, including creating a branch, naming the branch, and adding a description with additional information and screenshots, and requesting reviews, to make the change live.', 'duration': 176.906, 'highlights': ['The process of making a pull request on GitHub involves creating a branch, naming the branch, and adding a description with additional information and screenshots.', 'Requesting reviews and assigning oneself or others to the pull request are part of the process.', 'The pull request process involves merging the changes once conflicts are resolved.']}], 'duration': 372.017, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41191743.jpg', 'highlights': ['The process of making a pull request on GitHub involves creating a branch, naming the branch, and adding a description with additional information and screenshots.', 'The process of committing changes and pushing them to a specific branch is highlighted, with a mention of pushing changes to a named branch and the impact on the active branch.', 'The chapter emphasizes the importance of saving changes to a branch before committing, with a focus on recording important changes for the project.', 'The significance of creating and naming branches is explained, with examples of naming conventions such as using dashes, underscores, and camel case for branch names.', 'Requesting reviews and assigning oneself or others to the pull request are part of the process.', 'The pull request process involves merging the changes once conflicts are resolved.']}, {'end': 1879.484, 'segs': [{'end': 1605.274, 'src': 'heatmap', 'start': 1602.273, 'weight': 0.936, 'content': [{'end': 1605.274, 'text': "OK, so I'm just going to go through and follow the directions.", 'start': 1602.273, 'duration': 3.001}], 'summary': 'Following directions in progress.', 'duration': 3.001, 'max_score': 1602.273, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41602273.jpg'}, {'end': 1757.395, 'src': 'embed', 'start': 1698.542, 'weight': 1, 'content': [{'end': 1703.206, 'text': "Now, if I haven't said so already, I do recommend that you have somebody else on your team.", 'start': 1698.542, 'duration': 4.664}, {'end': 1705.588, 'text': 'Look over your pull request.', 'start': 1704.067, 'duration': 1.521}, {'end': 1708.551, 'text': "Uh, you really shouldn't be reviewing your own pull requests.", 'start': 1705.989, 'duration': 2.562}, {'end': 1711.674, 'text': "It doesn't really make any sense for you to do so.", 'start': 1709.432, 'duration': 2.242}, {'end': 1713.706, 'text': 'you did the work.', 'start': 1712.765, 'duration': 0.941}, {'end': 1718.91, 'text': "So you don't want to look over your own work, you have you need a second pair of eyes to do so.", 'start': 1713.966, 'duration': 4.944}, {'end': 1722.833, 'text': 'So with that being said, I want to merge these changes.', 'start': 1719.691, 'duration': 3.142}, {'end': 1725.075, 'text': "So I'm going to get checkout master.", 'start': 1722.954, 'duration': 2.121}, {'end': 1737.826, 'text': "And now switch to master and if I wanted to check that it now shows that masters here, and I'm no longer on test.", 'start': 1727.938, 'duration': 9.888}, {'end': 1742.122, 'text': "Now this is the piece that's important.", 'start': 1740.02, 'duration': 2.102}, {'end': 1746.165, 'text': 'This is what merges your branch right here.', 'start': 1742.682, 'duration': 3.483}, {'end': 1751.83, 'text': 'Now you may see them show up here.', 'start': 1748.367, 'duration': 3.463}, {'end': 1757.395, 'text': 'Um, honestly, I never make a, uh, commit message here.', 'start': 1751.85, 'duration': 5.545}], 'summary': 'Recommend having someone else review pull requests to merge changes.', 'duration': 58.853, 'max_score': 1698.542, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41698542.jpg'}, {'end': 1844.346, 'src': 'embed', 'start': 1785.963, 'weight': 0, 'content': [{'end': 1790.746, 'text': 'The very last thing you need to do is just push this into your master branch.', 'start': 1785.963, 'duration': 4.783}, {'end': 1796.389, 'text': "And that's working its magic.", 'start': 1794.508, 'duration': 1.881}, {'end': 1797.61, 'text': "It's writing things.", 'start': 1796.469, 'duration': 1.141}, {'end': 1801.949, 'text': "It's adding things to your master, and it's done.", 'start': 1798.488, 'duration': 3.461}, {'end': 1814.614, 'text': 'So if I go back here, that message, this get push origin master, basically merged my branch into master.', 'start': 1802.85, 'duration': 11.764}, {'end': 1821.117, 'text': "And it's telling me now that it's merged, which is great, which means I'm done.", 'start': 1815.755, 'duration': 5.362}, {'end': 1824.178, 'text': "You could delete the branch from here if you'd like.", 'start': 1822.217, 'duration': 1.961}, {'end': 1826.381, 'text': 'Or you could delete it from the terminal.', 'start': 1824.801, 'duration': 1.58}, {'end': 1827.982, 'text': 'I recommend doing it from the terminal.', 'start': 1826.581, 'duration': 1.401}, {'end': 1828.982, 'text': "We'll do that in a second.", 'start': 1828.002, 'duration': 0.98}, {'end': 1832.283, 'text': 'So this is it.', 'start': 1830.622, 'duration': 1.661}, {'end': 1835.484, 'text': "Now if you click on pull request, there's no more.", 'start': 1833.423, 'duration': 2.061}, {'end': 1840.565, 'text': 'If you go back to your code, it now has your added link to NavBar message here.', 'start': 1835.644, 'duration': 4.921}, {'end': 1844.346, 'text': 'If you click into it, you could see that as well.', 'start': 1841.125, 'duration': 3.221}], 'summary': 'Pushed branch into master, merged successfully.', 'duration': 58.383, 'max_score': 1785.963, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41785963.jpg'}], 'start': 1563.76, 'title': 'Git branching and merging', 'summary': 'Provides a comprehensive guide on git branching, merging changes from master, and merging branches into master, highlighting the importance of pull request reviews, efficiency, and achieving an up-to-date master branch.', 'chapters': [{'end': 1718.91, 'start': 1563.76, 'title': 'Git branching and merging tutorial', 'summary': 'Explains the process of fetching the origin, checking out a branch, merging changes from master, and the importance of having a second pair of eyes for reviewing pull requests in git workflow.', 'duration': 155.15, 'highlights': ['The importance of having a second pair of eyes for reviewing pull requests in the Git workflow.', 'The process of fetching the origin, checking out a branch, and merging changes from master in Git workflow.', 'Emphasizing the need for a second pair of eyes for reviewing pull requests in the Git workflow.']}, {'end': 1784.342, 'start': 1719.691, 'title': 'Merge changes in git', 'summary': 'Demonstrates how to merge changes in git, including switching to the master branch, the process of merging, and handling commit messages, with an emphasis on efficiency and personal preference.', 'duration': 64.651, 'highlights': ['Switching to the master branch and merging changes is a crucial aspect of Git workflow.', 'Emphasizing personal preference, the speaker mentions not following the standard practice of adding commit messages due to already having descriptive messages.', "The speaker uses 'colon Q' to exit messages and return to the text editor, highlighting an efficient approach in handling prompts."]}, {'end': 1879.484, 'start': 1785.963, 'title': 'Merging branch into master', 'summary': 'Illustrates the process of merging a branch into the master, including pushing changes, deleting the branch, and ensuring the code is successfully merged, ultimately achieving an up-to-date master branch.', 'duration': 93.521, 'highlights': ["The 'git push origin master' command merges the branch into master, ensuring the successful integration of changes and indicating the completion of the process.", 'Deleting the branch can be done either through the GitHub interface or the terminal, with a recommendation to do it from the terminal for convenience and efficiency.', 'After merging, the code is updated in the master branch, affirming the successful integration of changes and ensuring that the master branch is up to date.', "The process of deleting the branch after completion involves using the 'git branch -d' command, followed by the branch name, resulting in the elimination of the branch from the repository."]}], 'duration': 315.724, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/x0EYpi38Yp4/pics/x0EYpi38Yp41563760.jpg', 'highlights': ["The 'git push origin master' command merges the branch into master, ensuring successful integration of changes and completion of the process.", 'Switching to the master branch and merging changes is a crucial aspect of Git workflow.', 'Emphasizing the need for a second pair of eyes for reviewing pull requests in the Git workflow.', "The process of deleting the branch after completion involves using the 'git branch -d' command, resulting in the elimination of the branch from the repository.", 'Deleting the branch can be done either through the GitHub interface or the terminal, with a recommendation to do it from the terminal for convenience and efficiency.']}], 'highlights': ['The process of creating a new project on GitHub involves adding a description and README, emphasizing the importance of README for providing instructions and listing technologies used.', 'Creating a branch allows for making and pushing changes to a personal copy of the master branch, enabling independent development and experimentation.', 'Meaningful messages in GitHub are crucial for tracking changes and updates, enhancing productivity and collaboration.', "The 'git push origin master' command merges the branch into master, ensuring successful integration of changes and completion of the process.", 'The process of making a pull request on GitHub involves creating a branch, naming the branch, and adding a description with additional information and screenshots.']}