Most Commonly Used Git Commands

A lot of chatter about using Git and Subversion from the command line versus clients. Folks, take your time and learn the command lines. There’s a lot of stuff you can use the UI clients don’t always wrap into UI. Things like post-commit hooks, etc make the command line way more pure and powerful.

Here’s the same list for Subversion.

But for Git/Github, you can get most of what you need out of git clone, git commit, git push, git pull, git status, git diff and git merge.

Learn these and you won’t know everything about git, but you’ll be most of the way there.

Aaron Brazell

Aaron Brazell is a Baltimore, MD-based WordPress developer, a co-founder at WP Engine, WordPress core contributor and author. He wrote the book WordPress Bible and has been publishing on the web since 2000. You can follow him on Twitter, on his personal blog and view his photography at The Aperture Filter.

3 thoughts on “Most Commonly Used Git Commands

  1. It’s important to understand these fundamental concepts of Git before getting started. However, don’t be afraid/shy/embarrassed to ask coworkers, Things can certainly get more complex than these few commands. Fortunately, there is a user-friendly-ish Git manual to help if you can’t find a live person.

Comments are closed.