13.3.3.3 Salvando Alterações no Controle de Versão Local
Passo a Passo
Verificar estado atual do repositório
git status
▶ On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: README.md
no changes added to commit (use "git add" and/or "git commit -a")Criar um novo branch
Verificar estado atual do repositório
Adicionar README.md
Verificar estado atual do repositório
Git commit
Verificando o log do repositório
Atualizado
Isto foi útil?

