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

# Voivatko useat kirjoittajat muokata samaa tiedostoa samaan aikaan?

Kyllä! Aivan kuten Google Docs, Overleaf tukee samanaikaista yhteismuokkausta.

Overleaf lainaa myös joitakin ideoita [versionhallintajärjestelmistä](https://en.wikipedia.org/wiki/Version_control), kuten [gitistä](https://git-scm.com/): Voit tallentaa "nimettyjä versioita", jotka ovat kuin commitit, varmistaaksesi, että vaikka muut muokkaisivat dokumenttiasi, voit aina palata ja [verrata](https://www.overleaf.com/blog/154-a-first-look-at-the-new-version-comparison-feature) tärkeisiin versioihin, kuten "ensimmäiseen luonnokseen" tai versioon, joka on jätetty arvioitavaksi tai julkaistavaksi. Voit myös [käyttää projektejasi gitin kautta](https://www.overleaf.com/blog/195), jotta työskentely offline-tilassa olisi helpompaa.

Teknologia, joka mahdollistaa yhteismuokkauksemme, on nimeltään [Operational Transformation](https://en.wikipedia.org/wiki/Operational_transformation), tai lyhyesti OT. Overleafissa tekemäsi muokkaukset lähetetään palvelimelle muutaman sekunnin välein ja tallennetaan. Jos kaksi tai useampi henkilö muokkaa tiedostoa samaan aikaan, palvelin voi "rebaseata" jokaisen muutoksen toisen muutoksen päälle, niin että kaikki asiakkaat päätyvät samaan versioon. Ilmoittaaksemme asiakkaille muiden asiakkaiden tekemistä muutoksista käytämme [websocketteja](https://en.wikipedia.org/wiki/WebSocket), tekniikkaa, jonka avulla palvelimet voivat lähettää päivityksiä yhdistetyille asiakkaille.


---

# 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/fi/tietopankki/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.
