Skip to content

Instantly share code, notes, and snippets.

View samuelsilvati's full-sized avatar

Samuel Silva samuelsilvati

View GitHub Profile
@samuelsilvati
samuelsilvati / commands.md
Last active September 17, 2025 13:21
Comandos Git mais usados

🧠 Git – Comandos úteis para trabalhar com Branches

Um guia rápido com os comandos mais utilizados para criar, alternar, deletar e sincronizar branches, além de copiar commits específicos entre branches com git cherry-pick.


📌 Criar nova branch

git checkout -b nome-da-branch # Cria e troca para a nova branch.

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@samuelsilvati
samuelsilvati / git.md
Created April 25, 2022 13:34 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda