Git Cheatsheet - Quick Git Command Reference
Quick reference for common Git commands. Search, copy, and use Git commands instantly.
git tag
Manage tags (version markers)
Syntax
git tag [options] [<tagname>] [<commit>]Common Options
| Option | Description |
|---|---|
-a <tag> | Create annotated tag |
-m <msg> | Add tag message |
-d <tag> | Delete local tag |
-l, --list | List all tags |
-n <num> | Show tag annotation (lines) |
--sort=<key> | Sort by key |
Examples
git tagList all tags
git tag v1.0.0Create lightweight tag
git tag -a v1.0.0 -m "Release 1.0.0"Create annotated tag
git tag -d v1.0.0Delete local tag
git push origin v1.0.0Push single tag to remote
git push origin --tagsPush all tags to remote
git push origin --delete v1.0.0Delete remote tag
Related Commands
Related Tools
More Code & Dev Tools
Color Converter
Free online color converter. Convert between HEX, RGB, HSL, ...
cURL Command Builder
Build cURL commands visually. Set URL, method, headers, body...
Systemd Service Generator
Generate systemd service unit files visually. Configure Exec...
Color Palette Generator
Generate harmonious color palettes online. Create color sche...
SQL Formatter
Format and beautify SQL queries online. Improve SQL readabil...
Color Contrast Checker
Check color contrast ratios for WCAG compliance. Ensure acce...
Port Checker
Check if a port is open online. Test port availability and c...
CSS Formatter
Format and minify CSS online. Beautify CSS code or compress ...
IP Calculator
Calculate IP ranges, subnet masks, and CIDR notation. Networ...
Docker Compose Generator
Generate Docker Compose YAML files visually. Add services, c...
WebSocket Tester
Test WebSocket connections and messages in real-time. Connec...
DNS Lookup
Query DNS records online. Look up A, AAAA, CNAME, MX, TXT, N...