Git Hub Cheat Sheet
Git Hub Cheat Sheet
Git Hub Cheat Sheet
MAKE CHANGES
Shows file differences between staging and the last file version
$ git commit -m "[descriptive message]"
CONFIGURE TOOLING
CREATE REPOSITORIES
GROUP CHANGES
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
training.github.com
Learn more about using GitHub and Git. Email the Training Team or visit
our web site for learning event schedules and private class availability.
REFACTOR FILENAMES
Deletes the file from the working directory and stages the deletion
$ git rm --cached [file]
Removes the file from version control but preserves the file locally
$ git mv [file-original] [file-renamed]
SAVE FRAGMENTS
REDO COMMITS
[commit],
REVIEW HISTORY
SUPPRESS TRACKING