Git Cheatsheet
Interactive visual reference for essential Git commands.
0 of 3 uses today · 3 remaining. Go Pro and remove the limit.
Filter by scenario
Start repository
git initlowgit add .lowgit commit -m "chore: init"lowgit branch -M mainlowgit remote add origin <url>lowgit push -u origin mainlowFeature flow
git switch -c feature/<tema>lowgit add .lowgit commit -m "feat: ..."lowgit fetch originlowgit switch mainlowgit merge feature/<tema>mediumSafe undo
git restore <arquivo>mediumgit restore --staged <arquivo>lowgit reset --soft HEAD~1mediumgit reset --mixed HEAD~1mediumgit revert <hash>lowQuick decision
restore for local files, revert for shared history, and reflog before aggressive reset.merge when you want to preserve branching and rebase when you want to linearize before final merge.worktree for parallel branches and sparse-checkout when the monorepo is too large for the current task.Export
Operational view
<tema>, <arquivo>, <hash>, and <url> must be replaced before execution.§ How to use
How to find a Git command fast
Quick search for Git commands by situation ('undo a commit', 'revert a merge', 'create a branch') with examples.
Type what you need
Use natural language ('I want to undo the last commit'). Semantic search finds it even if you don't know the command name.
See the command + explanation
Each result has the exact command, what it does, when to use it and equivalent alternatives.
Copy and adapt
Replace placeholders ([branch], [hash]) with your values. Take special care with destructive commands (--force, reset --hard).
Related
Related tools
Da mesma categoria.
CSS Box Shadow Generator
Create CSS shadows visually with real-time preview.
Hash Generator
Create MD5 and SHA Hashes in one click.
JS Minifier
Reduce vanilla Javascript payload size painlessly.
Meta Tags Generator
Create optimized HTML header tags for perfect SEO & Social Indexing.
URL Encoder
Encode strings and parameters for links safely.
UUID Generator (v4)
Generate perfect universal unique identifiers.