GitHub Cheat Sheet Awesome

A collection of cool hidden and not so hidden features of Git and GitHub. This cheat sheet was inspired by Zach Holman's Git and GitHub Secrets talk at Aloha Ruby Conference 2012 (slides) and his More Git and GitHub Secrets talk at WDCNZ 2013 (slides).

Shortlink: http://git.io/sheet

Read this in other languages: English, 한국어, 日本語, 简体中文, 正體中文.

GitHub Cheat Sheet is sponsored by Snapshot: create interactive professional-quality product photos using AI

Table of Contents

GitHub

Ignore Whitespace

Adding ?w=1 to any diff URL will remove any changes only in whitespace, enabling you to see only the code that has changed.

Diff without whitespace

Read more about GitHub secrets.