The 19 Most Commonly Used Git Commands

There are a ton of Git commands and thankfully we will never have to worry about most of them. If you just type “git” in a terminal, it will show you the most common Git commands in a list. There are 19 of them and those are the ones we will focus on in this course. No need to worry about all of them, though, since most of the time you will only need a fraction (4-5) of them.

Transcript

In this video we're going to talk about the most common Git commands. If you go to the terminal and then you type in “man git”, you'll see the Git manual. Let's try to do that. “Git is the stupid content tracker” and then there's a ton of information about how to use Git and if you browse through it you can see that there's also a ton of commands and there really is a ton of commands in Git and the good news is that you don't need to learn all of them. There's a lot of documentation here and you can refer to it if you feel at some point.

If you just type “git” here, we see that here is the list of the most commonly used Git commands and I think that's a better reference for what we need to look at. Here is 19 of the most common used Git commands. In the next 19 videos we going to go over these commands one at a time. Not in this order. We are going to do it in an order that makes more sense. So we can progress. Some of these are more complicated than others.

That's it for this video, thanks for watching.

All Lessons

Level up with WP Pusher

Take the pain out of WordPress development. Manage your code with Git and never again deploy files over FTP.

When I came across WP Pusher, I knew I had found the answer and it's now a vital part of our workflow!

Ashley Hart, Green Chilli
GitHub user, runs his local WordPress agency with WP Pusher

WP Pusher makes deploying changes to our websites quick and easy. We could not manage without it.

Simon Appleby, Bookswarm
Bitbucket user, manages 100+ WordPress sites with WP Pusher