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 this movie I want to talk about the help command inside Git. And the way that you invoke it is just to type git, which is how we preface all of our commands that are going to go through Git, followed by a space, and then help, so that's the command, so we have git, we are telling Git execute the command help. This is the most basic command there it is because what git help does is it returns a page that will help us out about using Git. So here's how to use Git, here is the different things that we can use after it, and here's the most commonly-used Git commands with an explanation of each of them, and if you scroll to the bottom, you will see git help followed by the command will give us more information on a specific command.
So, for example, there is the log command that will show commit logs. If we want to find out more information about that, we type git help log, and then returns the Git Manual page up here, you'll see it says Git Manual, and it has information about git log, how to use it, description of what it does, and the various options that we can use with the command. Now to move forward to the next page, you can either hit the spacebar just to move forward one page at a time, or F for Forward, or B for Backward, and that will move you forwards and backwards as well.
When you are finally done, you can hit Q for Quit, to get out, and that will take you back to the command line again, so F for Forward, B for Backwards, Q for Quit. Those of you who are Unix users may recognize that Manual page is being a typical Unix manual page--or man page for short. And in fact, it is the exact same thing, if we say man git-log, that's the exact same page that it brings up, it's 100% the same, so git help log and man get-log are the same thing.
It just gives you a more consistent user interface through Git to get to those manual pages. It also reads nicely, get help on the log, right? Get help as in G E T, get help on log, and it will then provide us with the help page. So it makes it easy to remember. So I encourage you to use these help pages whenever you get stuck, whenever you're trying to figure out how to do something when you want to go a little bit deeper or when you want to try and find out how different option works. That's what it's there for. These help pages are really going to be an indispensable tool when you finally strike out on your own with Git.
Find answers to the most frequently asked questions about Git Essential Training.
Here are the FAQs that matched your search "":
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.