Github Git Cheat Sheet
Github Git Cheat Sheet
V 1.1.1
Git is the open source distributed version control system that facilitates GitHub activities on your laptop or
desktop. This cheat sheet summarizes commonly used Git command line instructions for quick reference.
INSTALL GIT
MAKE CHANGES
Git distributions for Linux and POSIX systems are available on the
ocial Git SCM web site.
Shows file dierences between staging and the last file version
CONFIGURE TOOLING
GROUP CHANGES
$ git branch
CREATE REPOSITORIES
REFACTOR FILENAMES
REVIEW HISTORY
$ git rm [file]
$ git log
Deletes the file from the working directory and stages the deletion
Removes the file from version control but preserves the file locally
SUPPRESS TRACKING
REDO COMMITS
SAVE FRAGMENTS
SYNCHRONIZE CHANGES
$ git stash
$ git pull
Learn more about using GitHub and Git. Email the Training Team or visit
our web site for learning event schedules and private class availability.
[email protected]
training.github.com