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

# Kan flere forfattere redigere den samme filen samtidig?

Ja! Akkurat som Google Docs støtter Overleaf samtidig samarbeidsskriving.

Overleaf låner også noen ideer fra [versjonskontrollsystemer](https://en.wikipedia.org/wiki/Version_control), slik som [git](https://git-scm.com/): Du kan lagre «merkede versjoner», som er som commits, for å være sikker på at selv om andre redigerer dokumentet ditt, kan du alltid gå tilbake til og [sammenligne med](https://www.overleaf.com/blog/154-a-first-look-at-the-new-version-comparison-feature) viktige versjoner, som et «førsteutkast» eller en versjon som ble sendt inn til vurdering eller publisering. Du kan også [få tilgang til prosjektene dine via git](https://www.overleaf.com/blog/195), for å gjøre det enklere å jobbe frakoblet.

Teknologien som driver vår samarbeidsskriving heter [Operasjonell transformasjon](https://en.wikipedia.org/wiki/Operational_transformation), eller OT for kort. Endringene dine i Overleaf sendes tilbake til serveren hvert par sekunder og lagres. Hvis to eller flere personer redigerer filen samtidig, kan serveren «rebasere» hver endring oppå den andre endringen, slik at alle klientene ender opp med samme versjon. For å varsle klienter om endringer gjort av andre klienter, bruker vi [websockets](https://en.wikipedia.org/wiki/WebSocket), en teknologi som lar servere sende oppdateringer til tilkoblede klienter.


---

# 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/no/kunnskapsbase/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.
