Referência completa dos comandos Git mais usados: init, branches, remote, undo, stash. Click-to-copy, busca instantânea, agrupado por categoria.
Referência rápida dos comandos Git mais usados.
# Workflow básico
git status
git add .
git commit -m "msg"
git push
# Nova branch
git switch -c feature/minha-feature
# Desfazer último commit (mantém mudanças)
git reset HEAD~1
# Force push seguro
git push --force-with-lease
Tags: git, version-control, cheatsheet, commands