title
Git Video Tutorial

description
Get the Cheat Sheet Here : http://goo.gl/XrARhN Support me on Patreon : https://www.patreon.com/derekbanas One of you guys asked me to make a Git video tutorial so I did. Specifically I go over all the different types of version control. We look at the difference between modified, staged and committed. We then install and set everything up for Windows, OSX and Linux. I briefly go over using VIM and show how to set up other editors. Then I cover the commands init, add, commit, status, diff, rm, log and more. Other Git Video Tutorials Init, Add, Commit, Status, Diff, Rm, Log and Installation : http://goo.gl/L3bR9f GitHub, Remote Repositories, Push, Pull, Remote, Fetch, Tagging, Aliases and Clone : http://goo.gl/ctIF44 Branching, HEAD, Checkout, Rebasing, Reverting, Reset, Clean, Solving Merge Conflicts and Mergetool : http://goo.gl/zWDj7T Generating SSH keys, how to set up multiple GitHub accounts on one computer and the Fork & Pull workflow : http://goo.gl/jQo7rv Install Locations Mac : http://sourceforge.net/projects/git-osx-installer/ Windows : http://msysgit.github.io/ Linux : apt-get install git-core OR yum install git-core

detail
{'title': 'Git Video Tutorial', 'heatmap': [{'end': 275.324, 'start': 241.405, 'weight': 0.952}, {'end': 455.081, 'start': 439.327, 'weight': 0.78}, {'end': 885.082, 'start': 831.25, 'weight': 0.785}], 'summary': 'A comprehensive git tutorial covers installation on windows, mac, and linux, common commands, and benefits, including distributed nature and file states. it also delves into configuration, directory tracking on mac, android manifest xml committing, file changes, managing files, abbreviating hash code, and utilizing git log commands for commit history and undoing commits.', 'chapters': [{'end': 306.984, 'segs': [{'end': 35.458, 'src': 'embed', 'start': 0.129, 'weight': 1, 'content': [{'end': 2.83, 'text': 'Well, hello Internet, and welcome to my Git video tutorial.', 'start': 0.129, 'duration': 2.701}, {'end': 9.211, 'text': "This is going to be a big tutorial because I'm going to show you how to install Git on Windows and Mac and Linux, pretty much.", 'start': 2.99, 'duration': 6.221}, {'end': 14.632, 'text': "And I'm also going to show you all of the common commands you will need to use Git.", 'start': 9.511, 'duration': 5.121}, {'end': 16.293, 'text': "I'm going to do my best to cover everything.", 'start': 14.652, 'duration': 1.641}, {'end': 21.214, 'text': "Part of it's going to be presentation, and part of it's going to be in a terminal, and I'm going to go as fast as possible.", 'start': 16.373, 'duration': 4.841}, {'end': 22.454, 'text': "So, let's get into it.", 'start': 21.394, 'duration': 1.06}, {'end': 26.455, 'text': 'So you may be asking yourself probably not, though what is Git?', 'start': 22.554, 'duration': 3.901}, {'end': 32.577, 'text': 'Well, Git is a version control tool that saves changes to groups of files, so you can revert back if needed.', 'start': 26.635, 'duration': 5.942}, {'end': 35.458, 'text': "And no, this whole entire presentation isn't going to be in this format.", 'start': 32.837, 'duration': 2.621}], 'summary': 'Git video tutorial covers installation on windows, mac, linux, and common commands.', 'duration': 35.329, 'max_score': 0.129, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A129.jpg'}, {'end': 133.991, 'src': 'embed', 'start': 108.231, 'weight': 0, 'content': [{'end': 112.956, 'text': 'Now basically in Git, files transition between three different states.', 'start': 108.231, 'duration': 4.725}, {'end': 121.967, 'text': "They're going to either be modified files, which are files that have been recently changed, staged, files which have been marked to be saved,", 'start': 113.217, 'duration': 8.75}, {'end': 125.689, 'text': 'and committed files, which are those that have been saved.', 'start': 121.967, 'duration': 3.722}, {'end': 128.99, 'text': "Okay, so it's modified, staged, committed.", 'start': 125.929, 'duration': 3.061}, {'end': 133.991, 'text': 'Git saves all these file changes to a directory as a compressed database,', 'start': 129.21, 'duration': 4.781}], 'summary': 'In git, files transition between modified, staged, and committed states before being saved to a compressed database.', 'duration': 25.76, 'max_score': 108.231, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A108231.jpg'}, {'end': 275.324, 'src': 'heatmap', 'start': 241.405, 'weight': 0.952, 'content': [{'end': 249.169, 'text': "The very first thing you're going to want to type in is git config dash dash global username and then put your name inside of here.", 'start': 241.405, 'duration': 7.764}, {'end': 254.992, 'text': "And that's going to allow you to track who has changed files inside of your database.", 'start': 249.449, 'duration': 5.543}, {'end': 259.613, 'text': "You're also going to want to come in here and find a user email.", 'start': 255.332, 'duration': 4.281}, {'end': 261.095, 'text': "As you can see, there's mine.", 'start': 259.954, 'duration': 1.141}, {'end': 263.617, 'text': 'so just type that in and, of course, hit enter again.', 'start': 261.255, 'duration': 2.362}, {'end': 268.66, 'text': "and then the final thing that i wanted to bring up, because i'm going to do all this stuff live in front of you,", 'start': 263.617, 'duration': 5.043}, {'end': 270.281, 'text': "but i'm going to do it over on the mac.", 'start': 268.66, 'duration': 1.621}, {'end': 271.802, 'text': 'all the commands are exactly the same.', 'start': 270.281, 'duration': 1.521}, {'end': 275.324, 'text': 'the only thing that i wanted to point out here is, if you want to change your directory,', 'start': 271.802, 'duration': 3.522}], 'summary': 'Configure git global username and user email for tracking file changes.', 'duration': 33.919, 'max_score': 241.405, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A241405.jpg'}], 'start': 0.129, 'title': 'Git basics tutorial', 'summary': 'Covers a comprehensive tutorial on git, including installation on windows, mac, and linux, common commands, and the benefits of using git for version control, emphasizing its distributed nature and the three states of files in git.', 'chapters': [{'end': 133.991, 'start': 0.129, 'title': 'Git basics tutorial', 'summary': 'Covers a comprehensive tutorial on git, including installation on windows, mac, and linux, common commands, and the benefits of using git for version control, emphasizing its distributed nature and the three states of files in git.', 'duration': 133.862, 'highlights': ['Git is a version control tool that saves changes to groups of files, allowing for easier sharing and complete backups of files on personal computers. Git is a version control tool that offers complete backups of all files on personal computers, making it easier to share files and eliminating problems that could occur if access to the server is lost under a centralized version control system.', 'Git files transition between three different states: modified, staged, and committed files. In Git, files transition between three states: modified files, staged files, and committed files. Git saves all these file changes to a directory as a compressed database.', 'The tutorial covers installation of Git on Windows, Mac, and Linux, and common commands for using Git. The tutorial includes instructions for installing Git on Windows, Mac, and Linux, as well as common commands for using Git.']}, {'end': 306.984, 'start': 133.991, 'title': 'Installing git on windows and mac', 'summary': 'Demonstrates step-by-step instructions for installing git on windows and mac, including the download process, setting up git, and running commands, with specific instructions for each operating system.', 'duration': 172.993, 'highlights': ['Step-by-step instructions for installing Git on Windows and Mac.', 'Specific details for downloading, setting up, and running commands on Git for Windows and Mac.', 'Guidance on opening Git Bash, configuring username and user email, and handling directory names with spaces.', 'Instructions for installing Git on Windows and Mac, including download, installation, and setup process.', 'Details on installing Git on Windows and Mac, with specific commands and options for each operating system.']}], 'duration': 306.855, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A129.jpg', 'highlights': ['Git files transition between three states: modified, staged, and committed files. Git saves all these file changes to a directory as a compressed database.', 'The tutorial covers installation of Git on Windows, Mac, and Linux, and common commands for using Git.', 'Git is a version control tool that saves changes to groups of files, allowing for easier sharing and complete backups of files on personal computers.']}, {'end': 686.656, 'segs': [{'end': 331.754, 'src': 'embed', 'start': 307.244, 'weight': 0, 'content': [{'end': 313.206, 'text': "And now, of course, just like you did inside of Windows, you're going to want to come in here and type git config, dash,", 'start': 307.244, 'duration': 5.962}, {'end': 316.507, 'text': 'dash global username and then your name inside of quotes.', 'start': 313.206, 'duration': 3.301}, {'end': 320.348, 'text': 'And then also I came in here and also defined the email address.', 'start': 316.907, 'duration': 3.441}, {'end': 325.05, 'text': 'Again, git config dash dash global user email and then whatever your email address is.', 'start': 320.408, 'duration': 4.642}, {'end': 331.754, 'text': 'Now, one thing that you might want to do is to edit what are called commit messages,', 'start': 325.47, 'duration': 6.284}], 'summary': 'Configured global username and email for git in windows.', 'duration': 24.51, 'max_score': 307.244, 'thumbnail': ''}, {'end': 372.795, 'src': 'embed', 'start': 349.044, 'weight': 1, 'content': [{'end': 357.248, 'text': 'And if you want to use Text Wrangler instead of using the inline editing tools that are common or default inside of Git,', 'start': 349.044, 'duration': 8.204}, {'end': 362.411, 'text': "what you're going to need to do in Text Wrangler is click on Text Wrangler and then click on Install Command Line Tools.", 'start': 357.248, 'duration': 5.163}, {'end': 365.573, 'text': 'And whenever you do, this little pop-up is going to pop up on your screen.', 'start': 362.771, 'duration': 2.802}, {'end': 366.193, 'text': 'Click on OK.', 'start': 365.633, 'duration': 0.56}, {'end': 372.795, 'text': "And then to use Text Wrangler in this situation, all you're going to need to do is type in git config dash dash.", 'start': 366.613, 'duration': 6.182}], 'summary': 'To use text wrangler with git, install command line tools and configure git config.', 'duration': 23.751, 'max_score': 349.044, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A349044.jpg'}, {'end': 460.199, 'src': 'heatmap', 'start': 422.307, 'weight': 4, 'content': [{'end': 427.054, 'text': "So I'm going to go global core dot editor and then I'm going to type in Vim instead.", 'start': 422.307, 'duration': 4.747}, {'end': 429.398, 'text': "And whenever I do, nothing's really going to happen.", 'start': 427.435, 'duration': 1.963}, {'end': 431.561, 'text': "It's just going to use that editor from now on.", 'start': 429.478, 'duration': 2.083}, {'end': 439.327, 'text': 'Now, if you want to show your settings because we just changed a whole bunch of settings here all you need to do is go get config and then dash,', 'start': 431.761, 'duration': 7.566}, {'end': 440.568, 'text': 'dash and list.', 'start': 439.327, 'duration': 1.241}, {'end': 443.791, 'text': 'And there you can see all the information that I changed inside of here.', 'start': 440.849, 'duration': 2.942}, {'end': 447.074, 'text': 'If you ever need to get help, just type in get help.', 'start': 444.071, 'duration': 3.003}, {'end': 447.975, 'text': 'Pretty easy.', 'start': 447.374, 'duration': 0.601}, {'end': 451.478, 'text': "And, of course, you're going to see all the different things you can get help on.", 'start': 448.415, 'duration': 3.063}, {'end': 455.081, 'text': "And then let's say, for example, you want to specifically get help on add.", 'start': 451.758, 'duration': 3.323}, {'end': 460.199, 'text': "All you would do then, I'm going to clear the scroll back, is just go Get, Help, Add.", 'start': 455.717, 'duration': 4.482}], 'summary': "Using 'git config' to change settings and get help on specific commands in vim.", 'duration': 37.892, 'max_score': 422.307, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A422307.jpg'}, {'end': 593.819, 'src': 'embed', 'start': 566.901, 'weight': 2, 'content': [{'end': 572.864, 'text': 'So if I want to start tracking it and saving changes, I just type in git add Android Manifest XML.', 'start': 566.901, 'duration': 5.963}, {'end': 575.125, 'text': "There you can see it doesn't show you any message.", 'start': 573.044, 'duration': 2.081}, {'end': 586.433, 'text': "If I want to specifically ignore certain files, what you want to do, I'm going to do this right now, is you want to create a file called .", 'start': 575.385, 'duration': 11.048}, {'end': 593.819, 'text': "git, ignore like that, if you can see that right there, and then you're going to want to.", 'start': 586.433, 'duration': 7.386}], 'summary': "To track changes in git, use 'git add' command; to ignore files, create '.gitignore' file.", 'duration': 26.918, 'max_score': 566.901, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A566901.jpg'}, {'end': 652.757, 'src': 'embed', 'start': 613.916, 'weight': 3, 'content': [{'end': 619.622, 'text': "It's going to ignore the bin and gen folder or directory and all of these different things.", 'start': 613.916, 'duration': 5.706}, {'end': 622.745, 'text': 'So you can see right here an example of all that.', 'start': 619.943, 'duration': 2.802}, {'end': 624.707, 'text': "I'm going to show you the website.", 'start': 622.886, 'duration': 1.821}, {'end': 625.749, 'text': 'Let me just jump over.', 'start': 624.828, 'duration': 0.921}, {'end': 627.269, 'text': 'You can see it right here.', 'start': 626.269, 'duration': 1}, {'end': 632.27, 'text': "It's github.com forward slash github forward slash gitignore.", 'start': 627.649, 'duration': 4.621}, {'end': 639.632, 'text': "And if you go here, you're going to see all of the common things that should be ignored, normally are ignored inside of Git.", 'start': 632.51, 'duration': 7.122}, {'end': 646.313, 'text': 'But of course, you can also ignore very specific file names, just like I added the manifest that you just saw.', 'start': 639.832, 'duration': 6.481}, {'end': 649.034, 'text': "So let's jump back over in the terminal and keep playing around with this.", 'start': 646.513, 'duration': 2.521}, {'end': 650.014, 'text': 'all right.', 'start': 649.554, 'duration': 0.46}, {'end': 652.757, 'text': "so what you're going to want to do is save this file.", 'start': 650.014, 'duration': 2.743}], 'summary': 'Github provides a list of common files to ignore in git, and you can also add specific file names to the ignore list.', 'duration': 38.841, 'max_score': 613.916, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A613916.jpg'}], 'start': 307.244, 'title': 'Git configuration and directory tracking on mac', 'summary': 'Covers configuring git on a mac, setting username and email, editing commit messages, changing the default text editor to text wrangler or vim, initializing a git repository, adding and ignoring specific files, and utilizing gitignore to exclude certain file types. it also provides common gitignore templates.', 'chapters': [{'end': 440.568, 'start': 307.244, 'title': 'Using git on macintosh', 'summary': 'Discusses configuring git on a mac, including setting a username and email, editing commit messages, and changing the default text editor to text wrangler or vim.', 'duration': 133.324, 'highlights': ["Configuring username and email Setting the global username and email for Git using 'git config --global username' and 'git config --global user email' commands.", "Changing default text editor to Text Wrangler or Vim Switching from the default text editor to Text Wrangler by installing command line tools and setting 'git config --global core.editor' to 'edit -w', or changing it to Vim using 'git config --global core.editor Vim' command.", "Showing settings Viewing the changed settings by using the 'git config --list' command."]}, {'end': 686.656, 'start': 440.849, 'title': 'Git basics and directory tracking', 'summary': 'Explains the process of using git to track changes in a directory, including initializing a git repository, adding and ignoring specific files, and utilizing gitignore to exclude certain file types, while also providing a resource for common gitignore templates.', 'duration': 245.807, 'highlights': ['The chapter explains the process of using Git to track changes in a directory, including initializing a Git repository, adding and ignoring specific files, and utilizing Gitignore to exclude certain file types. ', "The transcript provides step-by-step instructions on how to add and ignore specific files in a Git repository, such as using 'git add' and creating a .gitignore file. ", 'It introduces the use of Gitignore to exclude certain file types and provides a resource for common Gitignore templates from github.com/github/gitignore. ']}], 'duration': 379.412, 'thumbnail': '', 'highlights': ["Configuring username and email Setting the global username and email for Git using 'git config --global username' and 'git config --global user email' commands.", "Changing default text editor to Text Wrangler or Vim Switching from the default text editor to Text Wrangler by installing command line tools and setting 'git config --global core.editor' to 'edit -w', or changing it to Vim using 'git config --global core.editor Vim' command.", 'The chapter explains the process of using Git to track changes in a directory, including initializing a Git repository, adding and ignoring specific files, and utilizing Gitignore to exclude certain file types.', "The transcript provides step-by-step instructions on how to add and ignore specific files in a Git repository, such as using 'git add' and creating a .gitignore file.", "Showing settings Viewing the changed settings by using the 'git config --list' command.", 'It introduces the use of Gitignore to exclude certain file types and provides a resource for common Gitignore templates from github.com/github/gitignore.']}, {'end': 1015.258, 'segs': [{'end': 707.906, 'src': 'embed', 'start': 686.676, 'weight': 3, 'content': [{'end': 696.758, 'text': 'Okay, now, if I want to commit the Android manifest XML file that I just typed in there that I wanted to stage is what they call it.', 'start': 686.676, 'duration': 10.082}, {'end': 700.539, 'text': "I'm going to show you a brief way to do it and then I'm going to show you a more complicated way to do it.", 'start': 696.758, 'duration': 3.781}, {'end': 707.906, 'text': 'You just type in git commit, And then if you want to write directly to it without opening up an editor, you\'re going to type in "-m".', 'start': 700.599, 'duration': 7.307}], 'summary': "Demonstrating two ways to commit android manifest xml file using git, including '-m' option for direct writing.", 'duration': 21.23, 'max_score': 686.676, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A686676.jpg'}, {'end': 759.774, 'src': 'embed', 'start': 729.671, 'weight': 4, 'content': [{'end': 731.693, 'text': "More than likely you're not going to want to do that all the time,", 'start': 729.671, 'duration': 2.022}, {'end': 737.457, 'text': "because it's going to make your changes a lot harder to figure out for other developers as well as yourself.", 'start': 731.693, 'duration': 5.764}, {'end': 742.921, 'text': 'Now, if you want to get the status on all of your files, you just type in get status.', 'start': 737.717, 'duration': 5.204}, {'end': 743.942, 'text': 'I like that.', 'start': 743.361, 'duration': 0.581}, {'end': 749.626, 'text': "And you're going to see all of the different untracked files that you have here.", 'start': 743.982, 'duration': 5.644}, {'end': 753.069, 'text': "And there's going to, of course, be some missing because you're ignoring some of them.", 'start': 749.826, 'duration': 3.243}, {'end': 756.171, 'text': "And now I'm going to go through the process of staging a file.", 'start': 753.369, 'duration': 2.802}, {'end': 759.774, 'text': "Basically, I'm going to open up Eclipse right like this.", 'start': 756.391, 'duration': 3.383}], 'summary': "Using 'git status' helps to track untracked files and makes changes easier to manage.", 'duration': 30.103, 'max_score': 729.671, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A729671.jpg'}, {'end': 885.082, 'src': 'heatmap', 'start': 823.623, 'weight': 1, 'content': [{'end': 831.25, 'text': "it shows me exactly right here exactly what has been changed inside of there, so that's very good and very useful.", 'start': 823.623, 'duration': 7.627}, {'end': 839.165, 'text': "if, however, I want to actually stage this file, which means that I plan on committing it very soon thereafter, I'm just going to go git,", 'start': 831.25, 'duration': 7.915}, {'end': 845.933, 'text': "just like I showed you before, and I'm going to type in androidmanifest.xml, and this file has now been staged.", 'start': 839.165, 'duration': 6.768}, {'end': 852.42, 'text': 'And you can see that if I come in here and go git diff, dash, dash cached like this,', 'start': 846.233, 'duration': 6.187}, {'end': 858.086, 'text': "that it's going to show exactly what has been staged and what has not been committed on our screen.", 'start': 852.42, 'duration': 5.666}, {'end': 861.292, 'text': 'Now the logical thing to do is to just commit the changes.', 'start': 858.331, 'duration': 2.961}, {'end': 868.835, 'text': "So you type git commit and there you can see what actually happened is a file opened up on your system and I'm using Vim.", 'start': 861.312, 'duration': 7.523}, {'end': 870.416, 'text': 'Vim is very easy to use.', 'start': 869.015, 'duration': 1.401}, {'end': 874.838, 'text': "The very first thing I'm going to do is I'm going to type escape or I'm going to hit my escape key.", 'start': 870.436, 'duration': 4.402}, {'end': 877.479, 'text': "Already was escaped and then I'm going to hit I.", 'start': 875.058, 'duration': 2.421}, {'end': 880.9, 'text': "You're going to see down here in the lower left hand corner that insert popped up.", 'start': 877.479, 'duration': 3.421}, {'end': 885.082, 'text': "Then inside of here I'm going to note exactly what I changed.", 'start': 881.16, 'duration': 3.922}], 'summary': 'Using git to stage and commit changes in androidmanifest.xml, and utilizing vim for commit message input.', 'duration': 46.793, 'max_score': 823.623, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A823623.jpg'}, {'end': 952.65, 'src': 'embed', 'start': 927.594, 'weight': 0, 'content': [{'end': 933.758, 'text': "Then what you're going to want to do in sort of a paragraph format is describe the original problem that was addressed.", 'start': 927.594, 'duration': 6.164}, {'end': 938.221, 'text': "Then you're going to want to describe the specific change that is being made right here.", 'start': 933.938, 'duration': 4.283}, {'end': 943.824, 'text': "Then you're going to describe the result of the change or the result that you know you're going to have.", 'start': 938.441, 'duration': 5.383}, {'end': 947.267, 'text': "And then you're going to potentially describe any future improvements.", 'start': 943.844, 'duration': 3.423}, {'end': 952.65, 'text': 'And then you could type in like a bug notation or something like that as well.', 'start': 947.587, 'duration': 5.063}], 'summary': 'Describe original problem, specific change, result, future improvements, and bug notation.', 'duration': 25.056, 'max_score': 927.594, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A927594.jpg'}], 'start': 686.676, 'title': 'Managing git for android', 'summary': "Covers committing android manifest xml in git, including ways to do it, using '-m' for commit, and tracking uncommitted files with 'git status'. it also explains staging and committing files with a focus on using git diff and formatting commit messages.", 'chapters': [{'end': 749.626, 'start': 686.676, 'title': 'Managing android manifest xml in git', 'summary': "Covers committing the android manifest xml file in git, including a brief and more complicated way to do it, using '-m' to write directly to the commit, and getting the status of untracked files with 'git status'.", 'duration': 62.95, 'highlights': ["Committing the Android manifest XML file in Git by using 'git commit' and '-m' to write directly to the commit, such as 'git commit -m 'initial project version'", "Getting the status of untracked files with 'git status'"]}, {'end': 1015.258, 'start': 749.826, 'title': 'Staging and committing files with git', 'summary': 'Explains the process of staging and committing files with git, including making changes to a specific file, staging the file, and committing the changes, with a focus on using git diff and git commit commands as well as formatting commit messages.', 'duration': 265.432, 'highlights': ['The process of staging a file involves making changes to a specific file, such as adding a comment, and then saving the file before staging it with Git. The speaker demonstrates the process of staging a file in Eclipse by making an inconsequential change to the androidmanifest.xml file and then saving it before staging it with Git. This highlights the practical application of staging files with specific examples.', 'The use of git diff command to show the changes made to the staged file before committing, providing a clear view of the modifications made. The speaker explains the use of git diff command to display the changes made to the staged file, providing a clear visual representation of the modifications, which enhances understanding and review before committing the changes.', 'The importance of formatting commit messages, including using a brief heading and a paragraph format to describe the changes made, the original problem addressed, the specific change, the expected result, potential future improvements, and bug notation. The speaker emphasizes the importance of formatting commit messages, providing a structured approach involving a brief heading and a paragraph format to describe the changes made, the original problem addressed, the specific change, the expected result, potential future improvements, and bug notation, highlighting best practices for clear and informative commit messages.']}], 'duration': 328.582, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A686676.jpg', 'highlights': ['The importance of formatting commit messages, including using a brief heading and a paragraph format to describe the changes made, the original problem addressed, the specific change, the expected result, potential future improvements, and bug notation. The speaker emphasizes the importance of formatting commit messages, providing a structured approach involving a brief heading and a paragraph format to describe the changes made, the original problem addressed, the specific change, the expected result, potential future improvements, and bug notation, highlighting best practices for clear and informative commit messages.', 'The use of git diff command to show the changes made to the staged file before committing, providing a clear view of the modifications made. The speaker explains the use of git diff command to display the changes made to the staged file, providing a clear visual representation of the modifications, which enhances understanding and review before committing the changes.', 'The process of staging a file involves making changes to a specific file, such as adding a comment, and then saving the file before staging it with Git. The speaker demonstrates the process of staging a file in Eclipse by making an inconsequential change to the androidmanifest.xml file and then saving it before staging it with Git. This highlights the practical application of staging files with specific examples.', "Committing the Android manifest XML file in Git by using 'git commit' and '-m' to write directly to the commit, such as 'git commit -m 'initial project version'", "Getting the status of untracked files with 'git status'"]}, {'end': 1243.567, 'segs': [{'end': 1054.428, 'src': 'embed', 'start': 1015.538, 'weight': 1, 'content': [{'end': 1023.06, 'text': "and then down here at the very bottom, you're going to type in a colon and wq and that is going to save the changes that you just made, and then,", 'start': 1015.538, 'duration': 7.522}, {'end': 1027.342, 'text': 'of course, hit enter and there you go and you can see right here the notation.', 'start': 1023.06, 'duration': 4.282}, {'end': 1029.482, 'text': 'you can see right there that your file has been changed.', 'start': 1027.342, 'duration': 2.14}, {'end': 1033.684, 'text': 'another thing that you could do, if you want to totally skip the staging,', 'start': 1029.482, 'duration': 4.202}, {'end': 1041.088, 'text': 'as well as the commit message that we just typed in that was a commit message is just type git commit and then type a.', 'start': 1033.684, 'duration': 7.404}, {'end': 1043.71, 'text': "that's going to skip the whole staging area.", 'start': 1041.088, 'duration': 2.622}, {'end': 1045.832, 'text': "you're not gonna have to do the adding and all that.", 'start': 1043.71, 'duration': 2.122}, {'end': 1051.726, 'text': 'and then of course, you can type in dash m And you can type in exactly what you want to change here.', 'start': 1045.832, 'duration': 5.894}, {'end': 1054.428, 'text': "So let's jump over and let's actually change the file slightly.", 'start': 1051.806, 'duration': 2.622}], 'summary': "Demonstrating how to save changes using 'git commit' and 'git add' commands", 'duration': 38.89, 'max_score': 1015.538, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A1015538.jpg'}, {'end': 1202.553, 'src': 'embed', 'start': 1176.109, 'weight': 0, 'content': [{'end': 1181.814, 'text': 'Now what I want to do is come in here and go git add and delete me text.', 'start': 1176.109, 'duration': 5.705}, {'end': 1186.758, 'text': "Then I'm going to go git commit dash m initial project version.", 'start': 1182.074, 'duration': 4.684}, {'end': 1195.205, 'text': 'And now if I want to rename my file, I can go git mv delete me text and rename it to delete text or something like that.', 'start': 1187.078, 'duration': 8.127}, {'end': 1196.706, 'text': 'And git status.', 'start': 1195.745, 'duration': 0.961}, {'end': 1198.808, 'text': 'And you can see right there that it was renamed.', 'start': 1197.106, 'duration': 1.702}, {'end': 1202.553, 'text': "Now let's take a look at logs and how they work inside of Git.", 'start': 1199.068, 'duration': 3.485}], 'summary': 'Git commands used: git add, git commit, git mv; file renamed successfully.', 'duration': 26.444, 'max_score': 1176.109, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A1176109.jpg'}], 'start': 1015.538, 'title': 'Git commit and file changes and managing files in git', 'summary': 'Covers making changes to files, including saving changes, skipping staging, and adding commit messages, along with managing files in git through commands like git add, git rm, git mv, and git log, with examples of file manipulations and log formatting.', 'chapters': [{'end': 1076.667, 'start': 1015.538, 'title': 'Git commit and file changes', 'summary': 'Covers the process of making changes to files in git, including saving changes, skipping staging, and adding commit messages.', 'duration': 61.129, 'highlights': ["You can save changes in Git by typing 'colon wq' at the bottom of the file, which triggers the notation indicating that the file has been changed.", "By typing 'git commit a', you can skip the staging area and directly add a commit message using 'dash m', providing a shorthand way to skip staging and the commit message.", "Making changes to a file involves typing '2' in the comment section, saving the file, and then providing a commit message, as demonstrated in the example."]}, {'end': 1243.567, 'start': 1076.787, 'title': 'Managing files in git', 'summary': 'Covers the process of adding, removing, renaming, and viewing commit logs in git, demonstrating commands like git add, git rm, git mv, and git log, with examples of file manipulations and log formatting.', 'duration': 166.78, 'highlights': ['The chapter demonstrates the process of adding, removing, and renaming files in Git, with commands like git add, git rm, and git mv.', 'It provides examples of using git add to stage files, git rm to remove files from the staging area, and git mv to rename files.', 'The instructor also explains the command git log to view commit logs in different formats, including reverse chronological order and one-line format.']}], 'duration': 228.029, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A1015538.jpg', 'highlights': ['The chapter demonstrates adding, removing, and renaming files in Git.', "You can save changes in Git by typing 'colon wq' at the bottom of the file.", "By typing 'git commit a', you can skip the staging area and directly add a commit message."]}, {'end': 1514.308, 'segs': [{'end': 1270.782, 'src': 'embed', 'start': 1243.567, 'weight': 1, 'content': [{'end': 1247.289, 'text': 'if I want to just show like an abbreviation of this hash code right here,', 'start': 1243.567, 'duration': 3.722}, {'end': 1251.97, 'text': "I just type in percent and h and then let's say I want to put a colon between there.", 'start': 1247.289, 'duration': 4.681}, {'end': 1259.475, 'text': 'I can do another percent sign and if I want to show the person that made this change, I can just type in %AN and another colon.', 'start': 1252.37, 'duration': 7.105}, {'end': 1262.557, 'text': "You don't need these colons, you can put anything inside of there, I just chose to use colons.", 'start': 1259.495, 'duration': 3.062}, {'end': 1270.782, 'text': 'AR is going to be the date that was changed, and then if I want to show the first line of the comment, I just put %S.', 'start': 1262.957, 'duration': 7.825}], 'summary': 'Using percent signs for displaying hash code, author, date, and comment in git.', 'duration': 27.215, 'max_score': 1243.567, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A1243567.jpg'}, {'end': 1421.401, 'src': 'embed', 'start': 1389.196, 'weight': 0, 'content': [{'end': 1389.557, 'text': "I don't know.", 'start': 1389.196, 'duration': 0.361}, {'end': 1390.739, 'text': 'Random change.', 'start': 1389.938, 'duration': 0.801}, {'end': 1393.285, 'text': 'You would never want to type this in in the real world, but.', 'start': 1390.759, 'duration': 2.526}, {'end': 1394.956, 'text': "I'm going to type it in here.", 'start': 1393.996, 'duration': 0.96}, {'end': 1395.816, 'text': 'And there you go.', 'start': 1395.256, 'duration': 0.56}, {'end': 1398.637, 'text': "Let's say that you wanted to undo a commit.", 'start': 1396.236, 'duration': 2.401}, {'end': 1402.077, 'text': 'All you do is type in git commit dash dash amend.', 'start': 1399.017, 'duration': 3.06}, {'end': 1406.038, 'text': 'And this is going to allow you to change your previous commit that you just made right there.', 'start': 1402.418, 'duration': 3.62}, {'end': 1411.739, 'text': 'And you can see right here, if I typed in something ridiculous like that, well, I could come in here and change it.', 'start': 1406.318, 'duration': 5.421}, {'end': 1414.64, 'text': "I'm going to change into insert mode by hitting I.", 'start': 1411.939, 'duration': 2.701}, {'end': 1415.64, 'text': "And then I'm going to delete this.", 'start': 1414.64, 'duration': 1}, {'end': 1416.8, 'text': 'Delete the whole thing here.', 'start': 1415.9, 'duration': 0.9}, {'end': 1418.52, 'text': 'And type in something much better.', 'start': 1417.1, 'duration': 1.42}, {'end': 1421.401, 'text': 'Typed in random message.', 'start': 1418.82, 'duration': 2.581}], 'summary': "Using 'git commit --amend' allows changing previous commits, ensuring better commit messages.", 'duration': 32.205, 'max_score': 1389.196, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A1389196.jpg'}, {'end': 1506.275, 'src': 'embed', 'start': 1476.295, 'weight': 3, 'content': [{'end': 1480.438, 'text': "So, and of course there's cheat sheets and all that stuff underneath the video to help you along.", 'start': 1476.295, 'duration': 4.143}, {'end': 1481.659, 'text': "it's pretty easy to use.", 'start': 1480.638, 'duration': 1.021}, {'end': 1486.002, 'text': 'you just have to dive in and start using it and of course, it is extremely useful.', 'start': 1481.659, 'duration': 4.343}, {'end': 1488.543, 'text': 'I just want to make a special note right here.', 'start': 1486.002, 'duration': 2.541}, {'end': 1497.969, 'text': "if it is before April, the 25th of 2014, I'm giving away another Samsung Galaxy Note 3 with a Samsung Galaxy Gear smartwatch.", 'start': 1488.543, 'duration': 9.426}, {'end': 1506.275, 'text': 'in this part of the contest, all you need to do is to submit on my website a link to a funny video that shows why you should win.', 'start': 1497.969, 'duration': 8.306}], 'summary': 'Promotion for samsung galaxy note 3 and gear smartwatch giveaway before april 25, 2014.', 'duration': 29.98, 'max_score': 1476.295, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A1476295.jpg'}], 'start': 1243.567, 'title': 'Abbreviating hash code and git log', 'summary': 'Discusses abbreviating hash code using percent codes like %h and %an, displaying change information, and covers git log commands for commit history, file changes, and undoing commits, with tips on file manipulation and a note about a contest before april 25th, 2014.', 'chapters': [{'end': 1282.89, 'start': 1243.567, 'title': 'Abbreviating hash code and displaying information', 'summary': 'Discusses using percent codes like %h and %an to abbreviate hash code and display the person who made the change, ar for the date of change, and %s to show the first line of the comment in a version control system.', 'duration': 39.323, 'highlights': ['Using percent codes like %H, %AN, AR, and %S to abbreviate hash code, display the person who made the change, the date of change, and the first line of the comment in a version control system.', 'Demonstrating the use of percent codes to achieve desired display in a version control system.']}, {'end': 1514.308, 'start': 1283.15, 'title': 'Git log and file manipulation', 'summary': 'Covers various git log commands to display commit history, file changes, and undoing commits, including tips on staging and unstaging files, and a note about a contest held before april 25th, 2014.', 'duration': 231.158, 'highlights': ['The chapter covers various git log commands to display commit history, file changes, and undoing commits, including tips on staging and unstaging files. It demonstrates how to use git log to show the last two commits, abbreviated stats, changes in the last week, changes since a specific date, changes made by a specific author, changes made before a certain date, and undoing a commit using git commit --amend.', 'A note about a contest held before April 25th, 2014, where participants can submit funny videos to win a Samsung Galaxy Note 3 with a Samsung Galaxy Gear smartwatch. The transcript includes a special note about a contest before April 25th, 2014, where participants can submit funny videos to win a Samsung Galaxy Note 3 with a Samsung Galaxy Gear smartwatch by submitting on the website a link to a funny video, with the funniest video winning the prize.']}], 'duration': 270.741, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/r63f51ce84A/pics/r63f51ce84A1243567.jpg', 'highlights': ['The chapter covers various git log commands for commit history, file changes, and undoing commits, including tips on file manipulation.', 'Using percent codes like %H, %AN, AR, and %S to abbreviate hash code, display the person who made the change, the date of change, and the first line of the comment in a version control system.', 'Demonstrating the use of percent codes to achieve desired display in a version control system.', 'A note about a contest held before April 25th, 2014, where participants can submit funny videos to win a Samsung Galaxy Note 3 with a Samsung Galaxy Gear smartwatch.']}], 'highlights': ['Git files transition between three states: modified, staged, and committed files. Git saves all these file changes to a directory as a compressed database.', 'The tutorial covers installation of Git on Windows, Mac, and Linux, and common commands for using Git.', "Configuring username and email Setting the global username and email for Git using 'git config --global username' and 'git config --global user email' commands.", 'The importance of formatting commit messages, including using a brief heading and a paragraph format to describe the changes made, the original problem addressed, the specific change, the expected result, potential future improvements, and bug notation.', 'The chapter covers various git log commands for commit history, file changes, and undoing commits, including tips on file manipulation.']}