Git Commands Cheat Sheet
A concise and interactive Git commands cheat sheet designed for developers of all levels. Built with Tailwind CSS and hosted on GitHub Pages, this tool provides quick access to essential Git commands across multiple categories, with support for multiple languages.
🚀 Live Demo
Check out the live version here: https://terryy.github.io/git-cheatsheet/
✨ Features
- Multi-Language Support: Available in English (EN), Spanish (ES), French (FR), German (DE), Simplified Chinese (簡), and Traditional Chinese (繁).
- Responsive Design: Optimized for both desktop and mobile views.
- Interactive Menu: Hamburger menu with numbered, left-aligned category links for easy navigation.
- Command Layout: Each command includes a light grey field with the command text, a copy button on the right, and a bolded description below.
- Sticky Category Titles: Titles stick to the top (with left padding) for quick reference while scrolling.
- Dynamic Header: Click the logo or title to scroll to the top, refresh the page, and clear URL fragments (e.g.,
#undo-reset-commands
).
- Dynamic Copyright: Footer copyright year updates automatically to the current year.
- Well-Commented Code: HTML, CSS, and JavaScript include detailed comments for clarity.
📋 Categories
- Basic Commands
- Branching Commands
- Remote Commands
- Status & History Commands
- Undo & Reset Commands
- Stashing Commands
🛠️ Installation
To run this project locally:
- Clone the repository:
```bash
git clone https://github.com/terryy/git-cheatsheet.git