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

# Kan flera författare redigera samma fil samtidigt?

Ja! Precis som Google Docs stöder Overleaf samtidig samarbetsredigering.

Overleaf lånar också några idéer från [versionshanteringssystem](https://en.wikipedia.org/wiki/Version_control), såsom [git](https://git-scm.com/): Du kan spara "etiketterade versioner", som liknar commits, för att säkerställa att även om andra redigerar ditt dokument kan du alltid gå tillbaka till och [jämföra med](https://www.overleaf.com/blog/154-a-first-look-at-the-new-version-comparison-feature) viktiga versioner, som ett "första utkast" eller en version som skickades in för bedömning eller publicering. Du kan också [komma åt dina projekt via git](https://www.overleaf.com/blog/195), för att göra det lättare att arbeta offline.

Tekniken som driver vår samarbetsredigering kallas [Operational Transformation](https://en.wikipedia.org/wiki/Operational_transformation), eller OT för kort. Dina ändringar i Overleaf skickas tillbaka till servern med några sekunders mellanrum och sparas. Om två eller fler personer redigerar filen samtidigt kan servern "rebasera" varje ändring ovanpå den andra ändringen, så att alla klienter till slut hamnar på samma version. För att meddela klienterna om ändringar som gjorts av andra klienter använder vi [webbsockets](https://en.wikipedia.org/wiki/WebSocket), en teknik som gör det möjligt för servrar att skicka uppdateringar till anslutna 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/sv/kunskapsbas/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.
