> 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/ru/baza-znanii/021-can-multiple-authors-edit-the-same-file-at-the-same-time.md).

# Могут ли несколько авторов одновременно редактировать один и тот же файл?

Да! Как и Google Docs, Overleaf поддерживает одновременное совместное редактирование.

Overleaf также заимствует некоторые идеи из [систем контроля версий](https://en.wikipedia.org/wiki/Version_control), такие как [git](https://git-scm.com/): Вы можете сохранять «помеченные версии», которые похожи на коммиты, чтобы быть уверенным, что даже если другие будут редактировать ваш документ, вы всегда сможете вернуться к ним и [сравнить с](https://www.overleaf.com/blog/154-a-first-look-at-the-new-version-comparison-feature) важные версии, например «первый черновик» или версию, которая была отправлена на проверку или публикацию. Вы также можете [получать доступ к своим проектам через git](https://www.overleaf.com/blog/195), чтобы было удобнее работать офлайн.

Технология, на которой основано наше совместное редактирование, называется [Операционная трансформация](https://en.wikipedia.org/wiki/Operational_transformation), или OT. Ваши правки в Overleaf отправляются обратно на сервер каждые несколько секунд и сохраняются. Если два или более человека редактируют файл одновременно, сервер может «перебазировать» каждое изменение поверх другого изменения, чтобы все клиенты в итоге оказались на одной и той же версии. Чтобы уведомлять клиентов об изменениях, сделанных другими клиентами, мы используем [веб-сокеты](https://en.wikipedia.org/wiki/WebSocket), технологию, которая позволяет серверам отправлять обновления подключённым клиентам.


---

# 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/ru/baza-znanii/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.
