Skip to content

DowlingIT/cheatsheet_git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Cheat Sheet

A concise, visual Git command reference — boxed layout, Mermaid diagrams, printable.

View the cheat sheet

What's covered

Organized by task, common to advanced — each section fits on a printed page.

Everyday — Getting Started, Making Changes, Stashing, Branching

Inspect & Sync — Viewing Changes, History & Blame, Push & Pull, Remote Setup

Integrate — Merging, Rebasing, Cherry-Pick & Tags, Resolving Conflicts

Fix Mistakes — Undoing Local Changes, Reverting Commits, Rewriting History, Commit References

Reference — Config & Tools, Naming & Messages, Workflows, Key Concepts

Built with

  • Jekyll + GitHub Pages
  • Mermaid for git flow diagrams
  • CSS Grid for the boxed layout
  • @media print styles for PDF export (File → Print → Save as PDF)

Local development

Prerequisites

  • Ruby (2.7+)
  • Bundler — install with gem install bundler after Ruby is set up

On Windows, the easiest path is RubyInstaller (pick the version with DevKit).

On macOS, Ruby is preinstalled; on Linux, use your package manager (apt install ruby-full or similar).

Run locally

bundle install
bundle exec jekyll serve

Then open http://localhost:4000/cheatsheet_git/.

Contributing

PRs welcome — content lives in _sections/*.md. Each section is a Markdown file with front matter for ordering and layout.

License

MIT

About

A cheatsheet for git usage built for github pages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors