Shelf

Cheat Sheet

Lesser-known features of Git and GitHub, explained with short examples.

Cheat Sheet is the awesome list tiimgreen/github-cheat-sheet, kept by tiimgreen on GitHub. It names 52 items in 46 sections. It has 60,688 stars on GitHub and its last push was on . Most of its repositories are written in Go. Read the original on GitHub ↗ · Suggest a change

See also GitHub

52 of 52 Contents

GitHub #

Ignore Whitespace 1 #

  1. Read more about GitHub secrets. github.com

Commit History by Author 1 #

  1. Read more about the differences between commits views. help.github.com

Cloning a Repository 1 #

  1. Read more about the Git clone command. git-scm.com

Branch #

Comparing Branches 1 #

  1. Read more about comparing commits across time. help.github.com

Gists 1 #

  1. Gists gist.github.com · in 2 lists

Git.io 1 #

  1. Read more about Git.io. github.com

Keyboard Shortcuts 1 #

  1. Read more about search syntax you can use. help.github.com

Closing Issues via Commit Messages 1 #

  1. Read more about closing Issues via commit messages. help.github.com

Locking Conversations 1 #

  1. Read more about locking conversations. github.com

CI Status on Pull Requests 1 #

  1. Read more about the commit status API. github.com

Filters 3 #

  1. For the Rails repo github.com
  2. Read more about searching issues. help.github.com
  3. Read more about searching on the Status API. github.com

Syntax Highlighting in Markdown Files 1 #

  1. Read more about GitHub Flavored Markdown. help.github.com

Quick Quoting 1 #

  1. Read more about quick quoting. github.com

Pasting Clipboard Image to Comments 1 #

  1. Read more about issue attachments. help.github.com

Quick Licensing 1 #

  1. Read more about open source licensing. help.github.com

Task Lists 1 #

  1. Read more about task lists. help.github.com

Task Lists in Markdown Documents 1 #

  1. Read more about task lists in markdown documents. github.com

Metadata and Plugin Support for GitHub Pages 1 #

  1. Read more about repository metadata and plugin support for GitHub Pages. github.com

Viewing YAML Metadata in your Documents 1 #

  1. Read more about viewing YAML metadata in your documents. github.com

Rendering Tabular Data 1 #

  1. Read more about rendering tabular data. github.com · in 2 lists

Rendering PDF 1 #

  1. Read more about rendering PDF. github.com · in 2 lists

Revert a Pull Request 1 #

  1. Read more about reverting pull requests github.com

Diffs #

Rendered Prose Diffs 1 #

  1. Read more about rendered prose diffs. github.com

Diffable Maps 1 #

  1. Read more about diffable maps. github.com

Expanding Context in Diffs 1 #

  1. Read more about expanding context in diffs. github.com

Rendering and diffing images 1 #

  1. Read more about rendering and diffing images. help.github.com

Hub 2 #

  1. Hub mislav · ★ 22,958 · in 6 lists · updated 2024 quiet
  2. Check out some more cool commands Hub has to offer. mislav · ★ 22,958 · in 6 lists · updated 2024 quiet

Contribution Guidelines #

CONTRIBUTING File 1 #

  1. Read more about contributing guidelines. github.com

ISSUE_TEMPLATE file 2 #

  1. Read more about issue templates. github.com
  2. Issue template file generator talater.com · in 2 lists

PULL_REQUEST_TEMPLATE file 2 #

  1. Read more about pull request templates. github.com
  2. Pull request template file generator talater.com · in 2 lists

Octicons 1 #

  1. Read more about GitHub's Octicons octicons.github.com · in 3 lists

GitHub Student Developer Pack 1 #

  1. Read more about GitHub's Student Developer Pack education.github.com · in 3 lists

SSH keys 2 #

  1. e.g. github.com
  2. Read more about accessing public ssh keys. changelog.com

Profile Image 1 #

  1. e.g. github.com

Repository Templates 1 #

  1. Read more about using repositories as templates github.blog

Git #

Previous Branch 1 #

  1. Read more about Git branching. git-scm.com

Stripspace 1 #

  1. Read more about the Git stripspace command. git-scm.com

Checking out Pull Requests 1 #

  1. Read more about checking out pull requests locally. help.github.com

Styled Git Status 1 #

  1. Read more about the Git status command. git-scm.com

Styled Git Log 1 #

  1. Read more about the Git log command. git-scm.com

Git Grep 1 #

  1. Read more about the Git grep command. git-scm.com

Merged Branches 1 #

  1. Read more about the Git branch command. git-scm.com

Fixup and Autosquash 1 #

  1. Read more about the Git commit command. git-scm.com Read more about the Git rebase command.

Web Server for Browsing Local Repositories 1 #

  1. Read more about the Git instaweb command. git-scm.com

Git Configurations #

Color 1 #

  1. Read more about the Git config command. git-scm.com

Related lists

  1. GitHub phillipadsmith/awesome-github

    Guides for newcomers to GitHub, tips and add-ons for regular users, and unusual uses of the service.

    64 items · ★ 978 · updated 2024 · Development Environment · 4 projects in common quiet

More in Development Environment

  1. Shell alebcay/awesome-shell

    Shells, command-line utilities, customisations, frameworks and guides for working in Unix shells such as bash and zsh.

    369 items · ★ 38,044 · updated 2025

  2. GitHub Actions sdras/awesome-actions

    Ready-made actions, tutorials and resources for GitHub Actions, the automation and CI service built into GitHub.

    401 items · ★ 28,476 · updated 2024 quiet

  3. Git Tips git-tips/tips

    Short Git commands for everyday tasks and lesser-known features of version control.

    1 item · ★ 21,724

  4. Command-Line Apps agarrharr/awesome-cli-apps

    Programs that run in a terminal, for development, productivity, files, version control, images, entertainment and more.

    550 items · ★ 20,667 archived

  5. Quick Look Plugins sindresorhus/quick-look-plugins

    Plugins that let the macOS Quick Look preview show more kinds of file, such as JSON and Markdown.

    20 items · ★ 18,821

  6. ZSH Plugins unixorn/awesome-zsh-plugins

    Frameworks, plugins, completions, themes and tutorials for the zsh shell, numbering in the thousands.

    2,601 items · ★ 18,160

  7. Terminals Are Sexy k4m4/terminals-are-sexy

    Shells, terminal emulators, package managers, editors and command-line tools for people who like working in a terminal.

    195 items · ★ 13,166 · updated 2024 quiet

  8. Hyper bnb/awesome-hyper

    Plugins and themes for Hyper, a terminal app built with web technologies.

    217 items · ★ 11,029 · updated 2022 quiet

About this list

Stars
60,688
Last push
Licence
MIT
Entries
52 items in 46 sections
Named by
3 other lists
State
quiet
Markdown
tiimgreen/github-cheat-sheet.md

This page is an index of Cheat Sheet, a list kept by tiimgreen and its contributors at github.com/tiimgreen/github-cheat-sheet. The selection and order are theirs; the summary above is ours. Read at commit 746af1b on . Licence: MIT.

↑ ↓ to move, Enter to open, Esc to close