> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/overleaf-learn-latex-pt/base-de-conhecimento/021-can-multiple-authors-edit-the-same-file-at-the-same-time.md).

# Vários autores podem editar o mesmo ficheiro ao mesmo tempo?

Sim! Tal como o Google Docs, o Overleaf suporta edição colaborativa simultânea.

O Overleaf também adota algumas ideias de [sistemas de controlo de versões](https://en.wikipedia.org/wiki/Version_control), como [git](https://git-scm.com/): Pode guardar "versões rotuladas", que são como commits, para garantir que, mesmo que outros editem o seu documento, pode sempre voltar a e [comparar com](https://www.overleaf.com/blog/154-a-first-look-at-the-new-version-comparison-feature) versões importantes, como um 'rascunho inicial' ou uma versão que foi submetida para avaliação ou publicação. Também pode [aceder aos seus projetos via git](https://www.overleaf.com/blog/195), para facilitar o trabalho offline.

A tecnologia que alimenta a nossa edição colaborativa chama-se [Transformação Operacional](https://en.wikipedia.org/wiki/Operational_transformation), ou OT, para abreviar. As suas edições no Overleaf são enviadas de volta para o servidor a cada poucos segundos e guardadas. Se duas ou mais pessoas editarem o ficheiro ao mesmo tempo, o servidor consegue "rebase" cada alteração em cima da outra alteração, para que todos os clientes acabem com a mesma versão. Para notificar os clientes das alterações feitas por outros clientes, usamos [web sockets](https://en.wikipedia.org/wiki/WebSocket), uma tecnologia que permite aos servidores enviar atualizações para clientes ligados.


---

# 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, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/overleaf-learn-latex-pt/base-de-conhecimento/021-can-multiple-authors-edit-the-same-file-at-the-same-time.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
