> 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/zh-tw/zhi-shi-ku/021-can-multiple-authors-edit-the-same-file-at-the-same-time.md).

# 多位作者可以同時編輯同一個檔案嗎？

是的！就像 Google 文件一樣，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 上的編輯會每隔幾秒傳回伺服器並儲存。如果兩個或更多人同時編輯同一檔案，伺服器就能把每個變更「重新基準化」到其他變更之上，讓所有用戶端最後都處於相同版本。為了通知用戶端其他用戶端所做的變更，我們使用 [Web Socket](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/zh-tw/zhi-shi-ku/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.
