Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
The course shows how to use Git, the popular open-source version control software, to manage changes to source code and text files. Using a step-by-step approach, author Kevin Skoglund presents the commands that enable efficient code management and reveals the fundamental concepts behind version control systems and the Git architecture. Discover how to track changes to files in a repository, review previous edits, and compare versions of a file; create branches to test new ideas without altering the main project; and merge those changes into the project if they work out. The course begins by demonstrating version control in a single-user, standalone context, before exploring how remote repositories allow users to collaborate on projects effectively.
In the last chapter we went over the basics of how to track files using Git. We saw how to add files, how to edit them, how to delete them, how to rename them, and how to see differences between the files using git diff, and then how to use git status and git log. Those commands together probably make up 75% of what you are going to do with Git. They are the core actions that you are going to repeat over and over and over again. Now, there is more that we can do, and we are certainly going to go into that to make sure that you have a rounded out view of how to use Git. But before we do, I want us to switch from using the sample files that we have been using so far in our first_git_project and start using something that feels more like a real project. Hang on to this first_git_project.
In order to get this to work, all you should have to do is drag index.html onto a browser, or you can go into a browser and locate it that way. Now, you won't have to put these files in any kind of special web directory or anything like that, because they are just basic HTML files, our browser can render them. We don't first have to go through a web server like we would if we had PHP or Ruby on Rails files. In the rest of this chapter we are going to get familiar with this project, we are going to initialize it as git repo and see how we can make some edits and commits that might be like the kinds of edits and commits that one would make in the real world, and then we'll go on with learning more of the features of Git.
This will allow you to practice some of the techniques that we learned in the last chapter while giving you some real world exposure to how we would use Git, and then we can go on to learning more features in Git.
Find answers to the most frequently asked questions about Git Essential Training.
Here are the FAQs that matched your search "":
1. To add "-mmacosx-version-min=10.6" as described here:https://stackoverflow.com/questions/14268887/what-is-the-illegal-instruction-4-error-and-why-does-mmacosx-version-min-10https://stackoverflow.com/questions/10177038/illegal-instruction-4-shows-up-in-os-x-lion
2. Or to use the version of git that comes with Xcode, or to use homebrew to install git instead.http://superuser.com/questions/697144/installed-git-not-sure-how-to-get-it-working
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.