# Comandos mais utilizados

## git status

Verifica o status/condição da branch em que você está trabalhando, arquivos modificados, criados e exluídos

```css
$ git status
```

## git add

Após criar um arquivo, adicione o arquivo no rastreamento do Git. No Terminal, use o comando `git add` seguido do nome do arquivo ou somente `.` para adicionar todos os arquivos ainda não rastreados.

```css
$ git add index.html
```

## git commit

Depois de adicionar o arquivo a ser rastreado, confirme as alterações a serem rastreadas usando o Git. No Terminal, use `git commit - m` seguido por uma mensagem curta para confirmar as mudanças.

```css
$ git commit -m "commit inicial"
```

Dica: tente tornar suas mensagens curtas, mas significativas.

#### Exemplo

```css
$ git commit -m "Página inicial e pastas de CSS e JS"
```

## git push

Depois de confirmar as alterações, envie as alterações de sua máquina local para o repositório remoto. No Terminal, use o comando `git push` seguido do nome da branch que você está enviando.

#### Exemplo

```css
$ git push origin master
```


---

# 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/ciclo-de-vida-basico/comandos-mais-utilizados.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.
