Cheat Sheet

Git Cheat Sheet

By Daniel Oh
July 6, 2017
Cover image for the Git cheat sheet
Git Cheat Sheet

Cheap local branching, convenient staging areas and multiple workflows are just a few of the features Git offers.  As an open source distributed version control system there are many ways to use Git.  The good news is getting started is easy.

In this cheat sheet, author Daniel Oh, provides commands around:

  • Installation

  • Git command sequence

  • Git CLI

  • Quickstart using Git

Cheat Sheet Excerpt

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.

Local changes

# Changed files in your working directory
$ git status

# Changes to tracked files
$ git commit

# Add all current changes to the next commit
$ git add .

Want to see more? Get the full cheat sheet.

Tags: git Branches versions