title
1.6: Cloning Repo and Push/Pull - Git and GitHub for Poets
description
In part 6 of the Git and GitHub for Poets tutorial series, I show you how to clone a repository created on the GitHub website in order to work on it locally, and then push the changes back to GitHub.
Support this channel on Patreon: https://patreon.com/codingtrain
Contact: http://twitter.com/shiffman
GitHub Repo fo User Rainbow Coder: https://github.com/rainbowcoder
Download Git: https://git-scm.com/downloads
GitHub: https://github.com/
Intro to GitHub: https://guides.github.com/activities/hello-world/
For More Git and GitHub videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZF9C0YMKuns9sLDzK6zoiV
Help us caption & translate this video!
http://amara.org/v/QbsT/
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
detail
{'title': '1.6: Cloning Repo and Push/Pull - Git and GitHub for Poets', 'heatmap': [{'end': 434.235, 'start': 391.923, 'weight': 0.813}, {'end': 501.487, 'start': 470.495, 'weight': 0.752}, {'end': 604.058, 'start': 580.339, 'weight': 0.778}, {'end': 709.748, 'start': 681.269, 'weight': 0.741}, {'end': 1221.192, 'start': 1203.12, 'weight': 0.777}], 'summary': 'Covers essential git and github concepts such as repositories, commits, branches, and pull requests. it also provides instructions for using markdown, git commands, and github push and pull concepts.', 'chapters': [{'end': 405.398, 'segs': [{'end': 48.479, 'src': 'embed', 'start': 1.049, 'weight': 0, 'content': [{'end': 5.271, 'text': 'Hello I am continuing my tutorial series called Git and GitHub for Poets.', 'start': 1.049, 'duration': 4.222}, {'end': 8.233, 'text': "And I'm very excited about this particular session,", 'start': 5.391, 'duration': 2.842}, {'end': 13.536, 'text': "because what I'm going to do in this session is sort of crucial to your life as a user of Git and GitHub.", 'start': 8.233, 'duration': 5.303}, {'end': 18.479, 'text': "What I did before was show you all of these concepts, right? Here's my list of concepts.", 'start': 14.656, 'duration': 3.823}, {'end': 19.56, 'text': 'You have a Git repository.', 'start': 18.499, 'duration': 1.061}, {'end': 21.081, 'text': 'You can make commits, which are like changes.', 'start': 19.58, 'duration': 1.501}, {'end': 21.981, 'text': 'You can make branches.', 'start': 21.101, 'duration': 0.88}, {'end': 23.042, 'text': 'You can merge branches.', 'start': 22.202, 'duration': 0.84}, {'end': 23.663, 'text': 'You can fork.', 'start': 23.062, 'duration': 0.601}, {'end': 24.703, 'text': 'You can do a pull request.', 'start': 23.823, 'duration': 0.88}, {'end': 28.606, 'text': 'All these types of things that you can do with the Git software.', 'start': 24.803, 'duration': 3.803}, {'end': 32.729, 'text': 'You can do all those things just using the GitHub website through its interface.', 'start': 28.786, 'duration': 3.943}, {'end': 40.295, 'text': "However, the truth of the matter is if you're going to be working with this for open source projects or even other kind of creative ideas of how you might want to work with Git,", 'start': 32.929, 'duration': 7.366}, {'end': 43.036, 'text': "you're ultimately going to want to work on your own laptop.", 'start': 41.035, 'duration': 2.001}, {'end': 48.479, 'text': 'So in the previous video, I talked through the basics of just using this terminal.', 'start': 43.556, 'duration': 4.923}], 'summary': 'Tutorial series on git and github, emphasizing the importance of working on your own laptop for open source projects.', 'duration': 47.43, 'max_score': 1.049, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW81049.jpg'}, {'end': 236.719, 'src': 'embed', 'start': 209.746, 'weight': 3, 'content': [{'end': 213.588, 'text': "So we're going to get some new concepts here and this idea of cloning.", 'start': 209.746, 'duration': 3.842}, {'end': 222.344, 'text': "So cloning is the act of taking a repository, that's on a server like GitHub and cloning it to your computer,", 'start': 215.017, 'duration': 7.327}, {'end': 226.649, 'text': 'downloading a kind of copy of it to your computer that you can work with,', 'start': 222.344, 'duration': 4.305}, {'end': 232.154, 'text': 'and then you could push it back or you could pull from the server again if there are changes that are on your computer.', 'start': 226.649, 'duration': 5.505}, {'end': 233.295, 'text': "We'll get to that in a moment.", 'start': 232.174, 'duration': 1.121}, {'end': 235.017, 'text': 'OK, so here I am.', 'start': 233.455, 'duration': 1.562}, {'end': 236.719, 'text': "So let's go back to GitHub.", 'start': 235.097, 'duration': 1.622}], 'summary': 'Cloning involves downloading a copy of a repository from github to work with locally.', 'duration': 26.973, 'max_score': 209.746, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW8209746.jpg'}], 'start': 1.049, 'title': 'Git and github essentials', 'summary': 'Covers crucial git and github concepts, including repositories, commits, branches, merging, forking, and pull requests. it also includes instructions for installing git and emphasizes the importance of open source projects. additionally, it introduces the process of cloning a repository from github and initializing a repository with a readme file.', 'chapters': [{'end': 32.729, 'start': 1.049, 'title': 'Git and github for poets', 'summary': 'Introduces crucial concepts for git and github, including git repository, commits, branches, merging, forking, and pull requests, and emphasizes the ability to perform these actions using the github website.', 'duration': 31.68, 'highlights': ['The chapter emphasizes crucial concepts for Git and GitHub, such as making commits, branches, merging, forking, and pull requests.', 'The tutorial highlights the ability to perform Git and GitHub actions through the GitHub website interface.', 'The chapter introduces the tutorial series called Git and GitHub for Poets.']}, {'end': 127.732, 'start': 32.929, 'title': 'Installing git and basic usage', 'summary': 'Discusses the importance of installing git for local use, emphasizing the need for open source projects and creative ideas. it provides instructions on downloading and installing git, along with a troubleshooting tip for checking if the installation is successful.', 'duration': 94.803, 'highlights': ['The importance of installing Git for local use for open source projects or other creative ideas is emphasized, and the process of downloading and installing Git is outlined, along with a troubleshooting tip for checking if the installation is successful.', 'Emphasizing the need for open source projects or other creative ideas to work with Git for local use.', 'Providing instructions on downloading and installing Git, and checking if the installation is successful with a troubleshooting tip.', 'Emphasizing the importance of being able to work with Git for open source projects or other creative ideas.']}, {'end': 405.398, 'start': 127.832, 'title': 'Introduction to git and github', 'summary': 'Introduces the concept of git repositories, the process of cloning a repository from github to the local computer, and the importance of initializing a repository with a readme file before creating it on github.', 'duration': 277.566, 'highlights': ["The process of cloning a repository from GitHub to the local computer is explained, including the command 'git clone' and the significance of initializing a repository with a README file before creating it on GitHub. The narrator demonstrates the process of cloning a repository from GitHub to the local computer using the command 'git clone' and emphasizes the importance of initializing a repository with a README file before creating it on GitHub.", 'The significance of having a folder on the computer as a Git repository is discussed, emphasizing its role in issuing Git commands and making it easier to work with the repository. The narrator explains the importance of having a folder on the computer as a Git repository, highlighting its role in issuing Git commands and making it easier to work with the repository.', 'The narrator emphasizes the process of initializing a repository with a README file on GitHub to facilitate working with the repository and demonstrates the creation of a new repository on GitHub with a README file. The narrator emphasizes the process of initializing a repository with a README file on GitHub to facilitate working with the repository and demonstrates the creation of a new repository on GitHub with a README file.']}], 'duration': 404.349, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW81049.jpg', 'highlights': ['The chapter emphasizes crucial concepts for Git and GitHub, such as making commits, branches, merging, forking, and pull requests.', 'The tutorial highlights the ability to perform Git and GitHub actions through the GitHub website interface.', 'The importance of installing Git for local use for open source projects or other creative ideas is emphasized, and the process of downloading and installing Git is outlined, along with a troubleshooting tip for checking if the installation is successful.', "The process of cloning a repository from GitHub to the local computer is explained, including the command 'git clone' and the significance of initializing a repository with a README file before creating it on GitHub. The narrator demonstrates the process of cloning a repository from GitHub to the local computer using the command 'git clone' and emphasizes the importance of initializing a repository with a README file before creating it on GitHub."]}, {'end': 900.155, 'segs': [{'end': 451.742, 'src': 'embed', 'start': 405.438, 'weight': 5, 'content': [{'end': 408.562, 'text': "And we can see, look, there's a repository called Rainbow Song.", 'start': 405.438, 'duration': 3.124}, {'end': 420.407, 'text': "Now, there's nothing in it but that README file, because that was the only thing that was in the repository on GitHub.", 'start': 409.741, 'duration': 10.666}, {'end': 423.269, 'text': "So let's say I want to actually make some changes to it now.", 'start': 420.927, 'duration': 2.342}, {'end': 429.152, 'text': "So what I'm going to do is I'm going to drag this down here, and I want to open it with, I'm just going to open it with Sublime Text.", 'start': 423.969, 'duration': 5.183}, {'end': 430.633, 'text': 'I was using, oops.', 'start': 429.592, 'duration': 1.041}, {'end': 434.235, 'text': 'So any text editor will do.', 'start': 432.794, 'duration': 1.441}, {'end': 435.075, 'text': 'You can use Atom.', 'start': 434.295, 'duration': 0.78}, {'end': 437.116, 'text': "Actually, there's some nice things about using Atom with Git.", 'start': 435.135, 'duration': 1.981}, {'end': 438.916, 'text': "I mean, I'll use that in a different video.", 'start': 437.436, 'duration': 1.48}, {'end': 440.337, 'text': 'And I can just go to this file.', 'start': 439.276, 'duration': 1.061}, {'end': 442.878, 'text': "You can see there's that README file.", 'start': 440.357, 'duration': 2.521}, {'end': 445.599, 'text': 'Now, this README file is written in a format called markdown.', 'start': 442.898, 'duration': 2.701}, {'end': 451.742, 'text': 'And this markdown is just a markup language to, like, and the pound sign means a header, that sort of thing.', 'start': 446.219, 'duration': 5.523}], 'summary': "Introducing the 'rainbow song' repository on github and discussing editing the readme file in markdown format.", 'duration': 46.304, 'max_score': 405.438, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW8405438.jpg'}, {'end': 501.487, 'src': 'heatmap', 'start': 470.495, 'weight': 0.752, 'content': [{'end': 475.058, 'text': "Okay, so I'm coming back over here, and I'm going to show you git status, git status.", 'start': 470.495, 'duration': 4.563}, {'end': 478.07, 'text': 'Not a git repository.', 'start': 477.149, 'duration': 0.921}, {'end': 480.394, 'text': 'Why is it not a git repository? I cloned it.', 'start': 478.11, 'duration': 2.284}, {'end': 483.137, 'text': "The directory is there, but I'm not in that directory.", 'start': 480.614, 'duration': 2.523}, {'end': 485.521, 'text': 'So I need to cd into that directory.', 'start': 483.418, 'duration': 2.103}, {'end': 489.466, 'text': "And I can make sure I'm in there by saying I'm in desktop rainbow song.", 'start': 486.422, 'duration': 3.044}, {'end': 491.87, 'text': 'And now I should be able to hit git status.', 'start': 489.827, 'duration': 2.043}, {'end': 495.34, 'text': "Look at this, it's telling me lots of information.", 'start': 493.217, 'duration': 2.123}, {'end': 501.487, 'text': "I'm on the branch master, remember branches, I'm up to date with origin, but I've modified this file.", 'start': 495.46, 'duration': 6.027}], 'summary': 'Demonstration of using git commands, including git status and navigating into directories. shows branch information and file modifications.', 'duration': 30.992, 'max_score': 470.495, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW8470495.jpg'}, {'end': 569.649, 'src': 'embed', 'start': 540.071, 'weight': 2, 'content': [{'end': 542.233, 'text': 'Now, commands need arguments.', 'start': 540.071, 'duration': 2.162}, {'end': 546.255, 'text': "The first way I'm going to show you how to do this is with the argument dash a.", 'start': 542.613, 'duration': 3.642}, {'end': 548.997, 'text': 'The argument dash a essentially stands for all.', 'start': 546.255, 'duration': 2.742}, {'end': 552.82, 'text': 'Just like anything that was changed anywhere, commit all of it.', 'start': 549.097, 'duration': 3.723}, {'end': 559.419, 'text': "And probably in a separate video, I'm going to show you about how you can only commit certain changes and not other changes.", 'start': 553.915, 'duration': 5.504}, {'end': 563.462, 'text': "And there's an add command, which is like a step before commit.", 'start': 559.479, 'duration': 3.983}, {'end': 565.283, 'text': 'But this is a good way of getting started.', 'start': 563.662, 'duration': 1.621}, {'end': 567.025, 'text': 'git commit dash a.', 'start': 565.684, 'duration': 1.341}, {'end': 569.649, 'text': "And I'm going to now.", 'start': 568.308, 'duration': 1.341}], 'summary': "Learn to use 'git commit -a' to commit all changes.", 'duration': 29.578, 'max_score': 540.071, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW8540071.jpg'}, {'end': 604.058, 'src': 'heatmap', 'start': 580.339, 'weight': 0.778, 'content': [{'end': 591.21, 'text': 'So this is now git commit, git commit, git commit dash A, commit any changes I made to any files, dash M with this message, adding the key of C.', 'start': 580.339, 'duration': 10.871}, {'end': 591.99, 'text': "So I'm going to hit enter.", 'start': 591.21, 'duration': 0.78}, {'end': 596.568, 'text': "And you can see, ah, now, here's the thing.", 'start': 593.064, 'duration': 3.504}, {'end': 597.47, 'text': 'Oh boy.', 'start': 596.989, 'duration': 0.481}, {'end': 604.058, 'text': "So this is something that's going to happen to you once and only once in your life, unless you change your name or email and that sort of thing.", 'start': 597.79, 'duration': 6.268}], 'summary': "Using git to commit changes with the message 'adding the key of c'.", 'duration': 23.719, 'max_score': 580.339, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW8580339.jpg'}, {'end': 733.842, 'src': 'heatmap', 'start': 681.269, 'weight': 1, 'content': [{'end': 683.09, 'text': "So I'm going to enter that in.", 'start': 681.269, 'duration': 1.821}, {'end': 685.455, 'text': 'So that should be done.', 'start': 684.434, 'duration': 1.021}, {'end': 686.975, 'text': "And by the way, I'm going to hit clear again.", 'start': 685.535, 'duration': 1.44}, {'end': 695.12, 'text': 'If I want to check to make sure that worked, another command is git config list, I think.', 'start': 687.055, 'duration': 8.065}, {'end': 698.522, 'text': 'No, git config dash dash list.', 'start': 696.261, 'duration': 2.261}, {'end': 699.142, 'text': 'There we go.', 'start': 698.742, 'duration': 0.4}, {'end': 705.025, 'text': 'So you can see this is listing all of the configuration settings for git on this local computer.', 'start': 699.562, 'duration': 5.463}, {'end': 709.748, 'text': 'And you can see my username and user email is now set.', 'start': 705.286, 'duration': 4.462}, {'end': 713.05, 'text': 'And if I type git status, whoops.', 'start': 711.429, 'duration': 1.621}, {'end': 717.593, 'text': 'I want to go back and hit git status.', 'start': 714.411, 'duration': 3.182}, {'end': 722.035, 'text': 'so it actually so it managed to make that commit.', 'start': 717.593, 'duration': 4.442}, {'end': 733.842, 'text': "it did actually do that commit, but it just it used, like some anonymous username, or the username that's on my laptop.", 'start': 722.035, 'duration': 11.807}], 'summary': 'Configured git settings, listed configuration, and made a commit successfully.', 'duration': 34.28, 'max_score': 681.269, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW8681269.jpg'}, {'end': 793.698, 'src': 'embed', 'start': 761.602, 'weight': 0, 'content': [{'end': 762.362, 'text': 'I made a change.', 'start': 761.602, 'duration': 0.76}, {'end': 763.162, 'text': "I'm going to do git.", 'start': 762.602, 'duration': 0.56}, {'end': 769.632, 'text': 'I want to scroll back and find, oops, I want to find that command again, git commit.', 'start': 765.687, 'duration': 3.945}, {'end': 771.354, 'text': 'There it is.', 'start': 770.994, 'duration': 0.36}, {'end': 774.919, 'text': 'And adding a happy song.', 'start': 772.075, 'duration': 2.844}, {'end': 779.665, 'text': "So now I'm going to show you another command that you can use.", 'start': 776.722, 'duration': 2.943}, {'end': 788.394, 'text': 'Log So the command log allows you to see locally the history of your git commits.', 'start': 781.548, 'duration': 6.846}, {'end': 793.698, 'text': "To be honest, it's much more convenient to look at this stuff on GitHub because you have a nice visual interface for doing that.", 'start': 788.694, 'duration': 5.004}], 'summary': "Demonstrating git commands, including 'git log' to view commit history locally and preference for github's visual interface.", 'duration': 32.096, 'max_score': 761.602, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW8761602.jpg'}], 'start': 405.438, 'title': 'Using markdown and git commands', 'summary': 'Explains using a text editor for markdown in readme files and using atom with git. it also details the process of using git commands, from cloning to committing changes, including using git status, git commit, setting up user information, and using git log to view commit history.', 'chapters': [{'end': 451.742, 'start': 405.438, 'title': 'Using markdown for readme file', 'summary': 'Explains how to use a text editor to make changes to a readme file written in markdown format, and also mentions the possibility of using atom with git.', 'duration': 46.304, 'highlights': ["The README file in the repository 'Rainbow Song' was the only content on GitHub.", 'The transcript explains the markdown format used in the README file and its characteristics.', 'The chapter mentions the possibility of using Atom with Git for making changes to files.']}, {'end': 900.155, 'start': 451.962, 'title': 'Using git commands: from cloning to committing changes', 'summary': 'Details the process of using git commands, from cloning a repository to committing changes, with highlights including the use of git status, git commit, setting up user information, and using git log to view commit history.', 'duration': 448.193, 'highlights': ['The chapter details the process of using git commands, from cloning a repository to committing changes, with highlights including the use of git status, git commit, setting up user information, and using git log to view commit history. The chapter provides a comprehensive overview of using git commands, including git status, git commit, setting up user information, and using git log to view commit history.', "The use of 'git status' to check the repository status and view modified files, branch information, and updates from the origin repository. The 'git status' command is used to check repository status, view modified files, branch information, and updates from the origin repository.", "Explanation of 'git commit' command with the argument '-a' to commit all changes made to any files and using '-m' to add a message for the commit. The detailed explanation of the 'git commit' command with the argument '-a' to commit all changes made to any files and using '-m' to add a message for the commit.", "Demonstration of setting user information using 'git config' for username and email, emphasizing the importance of matching the email with the one used for GitHub. The demonstration of setting user information using 'git config' for username and email, emphasizing the importance of matching the email with the one used for GitHub.", "The use of 'git log' command to view the local history of git commits and the recommendation to set username and email before the first commit. The use of 'git log' command to view the local history of git commits and the recommendation to set username and email before the first commit for accurate authorship information."]}], 'duration': 494.717, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW8405438.jpg', 'highlights': ['The chapter provides a comprehensive overview of using git commands, including git status, git commit, setting up user information, and using git log to view commit history.', "The use of 'git status' to check the repository status and view modified files, branch information, and updates from the origin repository.", "Explanation of 'git commit' command with the argument '-a' to commit all changes made to any files and using '-m' to add a message for the commit.", "Demonstration of setting user information using 'git config' for username and email, emphasizing the importance of matching the email with the one used for GitHub.", "The use of 'git log' command to view the local history of git commits and the recommendation to set username and email before the first commit for accurate authorship information.", "The README file in the repository 'Rainbow Song' was the only content on GitHub.", 'The transcript explains the markdown format used in the README file and its characteristics.', 'The chapter mentions the possibility of using Atom with Git for making changes to files.']}, {'end': 1308.512, 'segs': [{'end': 1025.483, 'src': 'embed', 'start': 975.258, 'weight': 0, 'content': [{'end': 979.261, 'text': 'So GitHub being the sort of central place for multiple people to contribute to,', 'start': 975.258, 'duration': 4.003}, {'end': 983.044, 'text': "and you can always push your changes there and pull other people's changes back down to yours.", 'start': 979.261, 'duration': 3.783}, {'end': 984.505, 'text': "So let's just look at push.", 'start': 983.324, 'duration': 1.181}, {'end': 988.068, 'text': 'Back over here now, here I am again.', 'start': 986.086, 'duration': 1.982}, {'end': 990.95, 'text': "I'm going to say git push.", 'start': 988.088, 'duration': 2.862}, {'end': 994.731, 'text': "Huh? It doesn't know what to do.", 'start': 992.99, 'duration': 1.741}, {'end': 999.675, 'text': "Now I've discovered there's another really key aspect of this.", 'start': 995.092, 'duration': 4.583}, {'end': 1004.058, 'text': 'There is another command to add to our list called remote.', 'start': 999.975, 'duration': 4.083}, {'end': 1011.304, 'text': 'This is me working on my laptop on my git repository.', 'start': 1007.401, 'duration': 3.903}, {'end': 1015.287, 'text': 'GitHub is now an example of a remote.', 'start': 1011.664, 'duration': 3.623}, {'end': 1021.961, 'text': 'A remote is a duplicate instance of your repository that lives somewhere else on a remote server.', 'start': 1016.477, 'duration': 5.484}, {'end': 1025.483, 'text': 'You can have multiple remotes for a particular project.', 'start': 1022.181, 'duration': 3.302}], 'summary': 'Github allows multiple contributors to push and pull changes, and supports multiple remotes.', 'duration': 50.225, 'max_score': 975.258, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW8975258.jpg'}, {'end': 1185.913, 'src': 'embed', 'start': 1158.708, 'weight': 4, 'content': [{'end': 1164.113, 'text': "The reason why I had a problem is I've logged into my computer previously as a different username, and it still thought I was that.", 'start': 1158.708, 'duration': 5.405}, {'end': 1168.957, 'text': "So I fixed it now, and I'm ready to say git push origin master.", 'start': 1164.153, 'duration': 4.804}, {'end': 1169.497, 'text': 'Here we go.', 'start': 1169.017, 'duration': 0.48}, {'end': 1172.519, 'text': 'Git push origin master.', 'start': 1170.017, 'duration': 2.502}, {'end': 1176.423, 'text': 'now, this is what you should see.', 'start': 1173.32, 'duration': 3.103}, {'end': 1180.768, 'text': "of course it's not going to just let me do this, because it doesn't know who I am.", 'start': 1176.423, 'duration': 4.345}, {'end': 1185.913, 'text': 'you need to if whether I have access rights to that particular repository on github.', 'start': 1180.768, 'duration': 5.145}], 'summary': 'Logged into computer as different user caused access issue on git push.', 'duration': 27.205, 'max_score': 1158.708, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW81158708.jpg'}, {'end': 1233.677, 'src': 'heatmap', 'start': 1203.12, 'weight': 0.777, 'content': [{'end': 1205.325, 'text': 'And I can go here, and I can hit Refresh.', 'start': 1203.12, 'duration': 2.205}, {'end': 1208.907, 'text': 'And you can now see the new text is here.', 'start': 1206.246, 'duration': 2.661}, {'end': 1211.968, 'text': 'And if I go under Commits, you can see here.', 'start': 1209.327, 'duration': 2.641}, {'end': 1217.511, 'text': 'Now, the good news is remembering this particular commit has an incorrect username.', 'start': 1212.008, 'duration': 5.503}, {'end': 1221.192, 'text': "I didn't go back and fix it because I don't really care who, big deal.", 'start': 1217.551, 'duration': 3.641}, {'end': 1233.677, 'text': 'But you can see that this particular commit is assigned to the correct user because my Git settings on my laptop are the same username as my username on GitHub username and email.', 'start': 1221.472, 'duration': 12.205}], 'summary': 'New text added, incorrect commit username, but assigned to correct user.', 'duration': 30.557, 'max_score': 1203.12, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW81203120.jpg'}, {'end': 1263.908, 'src': 'embed', 'start': 1241.828, 'weight': 3, 'content': [{'end': 1252.5, 'text': 'So all we did in this video was create a totally new repository on GitHub, cloned it to our laptop, made some changes to it, and pushed it back.', 'start': 1241.828, 'duration': 10.672}, {'end': 1255.943, 'text': 'And while doing that, we realized we have to install Git on the laptop,', 'start': 1252.86, 'duration': 3.083}, {'end': 1263.908, 'text': 'we have to know about Unix commands and I have to also make sure that my global username and email settings are configured.', 'start': 1255.943, 'duration': 7.965}], 'summary': 'Created new repository, made changes, pushed to github, installed git, learned unix commands, configured global settings.', 'duration': 22.08, 'max_score': 1241.828, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW81241828.jpg'}, {'end': 1301.417, 'src': 'embed', 'start': 1277.518, 'weight': 5, 'content': [{'end': 1285.144, 'text': "In the next video, I'm going to show you how to make a fresh repository from an existing folder on your computer and send that to GitHub.", 'start': 1277.518, 'duration': 7.626}, {'end': 1291.589, 'text': 'Because in a lot of cases, you might actually have already made something on your computer that you want to suddenly turn into a repository on GitHub.', 'start': 1285.184, 'duration': 6.405}, {'end': 1295.192, 'text': "So I'll show you that using the git init command in the next particular video.", 'start': 1291.609, 'duration': 3.583}, {'end': 1301.417, 'text': "And from there I'm going to keep going with more and more types of things that you might want to do with working with other people's repositories and branching and merging,", 'start': 1295.252, 'duration': 6.165}], 'summary': 'Tutorial on creating a repository from an existing folder and sending to github using git init command.', 'duration': 23.899, 'max_score': 1277.518, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW81277518.jpg'}], 'start': 900.215, 'title': 'Github push and pull concepts', 'summary': 'Explains the concepts of push and pull in github, emphasizing the need to push changes from local to remote repositories and pull changes from remote to local, highlighting the challenges and commands involved in the process, along with fixing login issues, unix commands, and repository creation.', 'chapters': [{'end': 1158.448, 'start': 900.215, 'title': 'Github push and pull tutorial', 'summary': 'Explains the concepts of push and pull in github, emphasizing the need to push changes from local to remote repositories and pull changes from remote to local, highlighting the challenges and commands involved in the process.', 'duration': 258.233, 'highlights': ["GitHub being the central place for multiple contributors, one can always push changes there and pull other people's changes back to their own, emphasizing the collaborative nature of the platform. GitHub serves as a central hub for multiple contributors, facilitating the process of pushing changes and pulling others' contributions back to one's own repository.", 'The tutorial explores the complexities of pushing changes to a remote repository, exemplifying the need to specify the remote and branch explicitly and the challenges encountered in this process. The process of pushing changes to a remote repository is depicted as complex, requiring explicit specification of the remote and branch, and highlighting the challenges encountered in this process.', 'The concept of a remote is introduced, explaining that it is a duplicate instance of a repository residing on a remote server, and multiple remotes can be associated with a project. The concept of a remote is introduced, defining it as a duplicate instance of a repository on a remote server, with the possibility of having multiple remotes associated with a project.']}, {'end': 1308.512, 'start': 1158.708, 'title': 'Pushing changes to github', 'summary': "Discusses fixing login issues, pushing changes to github, and the importance of configuring git settings, unix commands, and repository creation. it also mentions the upcoming topics of creating a fresh repository and working with other people's repositories.", 'duration': 149.804, 'highlights': ['The importance of configuring Git settings, Unix commands, and repository creation is emphasized for successful pushing of changes to GitHub. The transcript emphasizes the importance of configuring Git settings, knowing Unix commands, and creating a repository for successful pushing of changes to GitHub.', 'Fixing login issues due to a different username and successfully pushing changes to GitHub is discussed. The chapter discusses encountering a problem due to a previous login with a different username and successfully fixing it to push changes to GitHub.', "Upcoming topics of creating a fresh repository from an existing folder and working with other people's repositories are mentioned. The upcoming topics of creating a fresh repository from an existing folder and working with other people's repositories are highlighted for the next video."]}], 'duration': 408.297, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/yXT1ElMEkW8/pics/yXT1ElMEkW8900215.jpg', 'highlights': ["GitHub serves as a central hub for multiple contributors, facilitating the process of pushing changes and pulling others' contributions back to one's own repository.", 'The process of pushing changes to a remote repository is depicted as complex, requiring explicit specification of the remote and branch, and highlighting the challenges encountered in this process.', 'The concept of a remote is introduced, defining it as a duplicate instance of a repository on a remote server, with the possibility of having multiple remotes associated with a project.', 'The importance of configuring Git settings, Unix commands, and repository creation is emphasized for successful pushing of changes to GitHub.', 'The chapter discusses encountering a problem due to a previous login with a different username and successfully fixing it to push changes to GitHub.', "The upcoming topics of creating a fresh repository from an existing folder and working with other people's repositories are highlighted for the next video."]}], 'highlights': ['The chapter emphasizes crucial concepts for Git and GitHub, such as making commits, branches, merging, forking, and pull requests.', 'The tutorial highlights the ability to perform Git and GitHub actions through the GitHub website interface.', "The process of cloning a repository from GitHub to the local computer is explained, including the command 'git clone' and the significance of initializing a repository with a README file before creating it on GitHub.", 'The chapter provides a comprehensive overview of using git commands, including git status, git commit, setting up user information, and using git log to view commit history.', "Explanation of 'git commit' command with the argument '-a' to commit all changes made to any files and using '-m' to add a message for the commit.", "Demonstration of setting user information using 'git config' for username and email, emphasizing the importance of matching the email with the one used for GitHub.", "The use of 'git log' command to view the local history of git commits and the recommendation to set username and email before the first commit for accurate authorship information.", "GitHub serves as a central hub for multiple contributors, facilitating the process of pushing changes and pulling others' contributions back to one's own repository.", 'The concept of a remote is introduced, defining it as a duplicate instance of a repository on a remote server, with the possibility of having multiple remotes associated with a project.', 'The importance of configuring Git settings, Unix commands, and repository creation is emphasized for successful pushing of changes to GitHub.']}