Biblioteca de referência

Cheatsheet de Comandos Git

Comandos Git comuns para status, diffs e commits focados.

Check status

Referência: Inspect changed, staged, and untracked files before committing.

git status

Show recent commits

Referência: Review recent history before writing a new commit message.

git log --oneline -5

Compare changes

Referência: Read unstaged code changes before staging.

git diff

Create commit

Referência: Commit a focused change with a clear message.

git commit -m "fix: describe the change"

Ferramentas relacionadas