Home | Projects | Notes > Unix/Linux > Git Cheat Sheet

Git Cheat Sheet

 

Installation & GUIS

 

Setup

Configuring user information used across all local repositories:

 

Initialization

 

Stage & Snapshot

Working with snapshots and the Git staging area:

Branch & Merge

Isolating work in branches, changing context, and integrating changes:

Inspect & Compare

Examining logs, diffs and object information:

Tracking Path Changes

Versioning file removes and path changes:

 

Ignoring Patterns

Preventing unintentional staging or committing of files:

 

Share & Update

Retrieving updates from another repository and updating local repos:

 

Rewrite History

Rewriting branches, updating commits and clearing history:

 

Temporary Commits

Temporarily store modified, tracked files in order to change branches: