> For the complete documentation index, see [llms.txt](https://cumbucadev.gitbook.io/github-essentials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cumbucadev.gitbook.io/github-essentials/dia-4.md).

# Dia 4

- [Trabalhando com Branches Localmente](https://cumbucadev.gitbook.io/github-essentials/dia-4/trabalhando-com-branches-localmente.md)
- [Trabalhando com Branches Localmente](https://cumbucadev.gitbook.io/github-essentials/dia-4/trabalhando-com-branches-localmente/trabalhando-com-branches-localmente.md)
- [Gerenciando Branches via \`git branch\`](https://cumbucadev.gitbook.io/github-essentials/dia-4/trabalhando-com-branches-localmente/gerenciando-branches-via-git-branch.md)
- [Alternando Entre Branches via \`git switch\`](https://cumbucadev.gitbook.io/github-essentials/dia-4/trabalhando-com-branches-localmente/alternando-entre-branches-via-git-switch.md)
- [Mesclando Branches via \`git merge\`](https://cumbucadev.gitbook.io/github-essentials/dia-4/trabalhando-com-branches-localmente/mesclando-branches-via-git-merge.md)
- [Resolvendo Conflitos de Merge](https://cumbucadev.gitbook.io/github-essentials/dia-4/trabalhando-com-branches-localmente/resolvendo-conflitos-de-merge.md)
- [Unindo os Pontos](https://cumbucadev.gitbook.io/github-essentials/dia-4/trabalhando-com-branches-localmente/unindo-os-pontos.md)
- [Exemplo Prático](https://cumbucadev.gitbook.io/github-essentials/dia-4/trabalhando-com-branches-localmente/exemplo-pratico.md)
- [Desfazendo Alterações Localmente](https://cumbucadev.gitbook.io/github-essentials/dia-4/desfazendo-alteracoes-localmente.md)
- [Desfazendo Alterações Localmente](https://cumbucadev.gitbook.io/github-essentials/dia-4/desfazendo-alteracoes-localmente/desfazendo-alteracoes-localmente.md)
- [Desfazendo Alterações Antes do Commit](https://cumbucadev.gitbook.io/github-essentials/dia-4/desfazendo-alteracoes-localmente/desfazendo-alteracoes-antes-do-commit.md)
- [Desfazendo Commits](https://cumbucadev.gitbook.io/github-essentials/dia-4/desfazendo-alteracoes-localmente/desfazendo-commits.md)
- [Alterando o Último Commit via \`git commit --amend\`](https://cumbucadev.gitbook.io/github-essentials/dia-4/desfazendo-alteracoes-localmente/alterando-o-ultimo-commit-via-git-commit-amend.md)
- [Unindo os Pontos](https://cumbucadev.gitbook.io/github-essentials/dia-4/desfazendo-alteracoes-localmente/unindo-os-pontos.md)
- [Exemplos Práticos](https://cumbucadev.gitbook.io/github-essentials/dia-4/desfazendo-alteracoes-localmente/exemplos-praticos.md)
- [Ignorando e Removendo Arquivos do Rastreamento Local](https://cumbucadev.gitbook.io/github-essentials/dia-4/ignorando-e-removendo-arquivos-do-rastreamento-local.md)
- [Ignorando e Removendo Arquivos do Rastreamento Local](https://cumbucadev.gitbook.io/github-essentials/dia-4/ignorando-e-removendo-arquivos-do-rastreamento-local/ignorando-e-removendo-arquivos-do-rastreamento-local.md)
- [Ignorando Arquivos do Rastreamento Utilizando o arquivo .gitignore](https://cumbucadev.gitbook.io/github-essentials/dia-4/ignorando-e-removendo-arquivos-do-rastreamento-local/ignorando-arquivos-do-rastreamento-utilizando-o-arquivo-.gitignore.md)
- [Removendo Arquivos do Rastreamento via \`git rm\`](https://cumbucadev.gitbook.io/github-essentials/dia-4/ignorando-e-removendo-arquivos-do-rastreamento-local/removendo-arquivos-do-rastreamento-via-git-rm.md)
- [Slides](https://cumbucadev.gitbook.io/github-essentials/dia-4/slides.md)
- [Sua Vez!](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez.md)
- [Exercício 1](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/exercicio-1.md)
- [Solução Exercício 1](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/solucao-exercicio-1.md)
- [Exercício 2](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/exercicio-2.md)
- [Solução Exercício 2](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/solucao-exercicio-2.md)
- [Exercício 3](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/exercicio-3.md)
- [Solução Exercício 3](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/solucao-exercicio-3.md)
- [Exercício 4](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/exercicio-4.md)
- [Solução Exercício 4](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/solucao-exercicio-4.md)
- [Exercício 5](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/exercicio-5.md)
- [Solução Exercício 5](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/solucao-exercicio-5.md)
- [Exercício 6](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/exercicio-6.md)
- [Solução Exercício 6](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/solucao-exercicio-6.md)
- [Exercício 7](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/exercicio-7.md)
- [Solução Exercício 7](https://cumbucadev.gitbook.io/github-essentials/dia-4/sua-vez/solucao-exercicio-7.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cumbucadev.gitbook.io/github-essentials/dia-4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
