# Dicas de boas práticas

### Quando devo fazer um commit?&#x20;

O ideal é que você faça um commit a cada nova atualização funcional do seu código, para que você possa retornar a uma versão de trabalho, se necessário. Além disso, cada commit deve ter uma tarefa lógica que pode ser resumida em uma frase.

### Quando devo fazer um push?&#x20;

Sempre, logo depois de fazer um commit.&#x20;

### Eu devo escrever mensagens de commit?&#x20;

Você precisa pelo menos de um título descritivo. Esta é uma parte importante da documentação do código (especialmente em um ambiente de desenvolvimento em time).


---

# Agent Instructions: 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://womakerscode.gitbook.io/desvendando-git-e-github/dicas-e-boas-praticas/dicas-de-boas-praticas.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.
