> 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/vi/co-so-tri-thuc/021-can-multiple-authors-edit-the-same-file-at-the-same-time.md).

# Nhiều tác giả có thể cùng chỉnh sửa một tệp vào cùng một thời điểm không?

Có! Giống như Google Docs, Overleaf hỗ trợ chỉnh sửa cộng tác đồng thời.

Overleaf cũng mượn một số ý tưởng từ [hệ thống kiểm soát phiên bản](https://en.wikipedia.org/wiki/Version_control), chẳng hạn như [git](https://git-scm.com/): Bạn có thể lưu các "phiên bản có nhãn", giống như các commit, để đảm bảo rằng ngay cả khi người khác chỉnh sửa tài liệu của bạn, bạn vẫn luôn có thể quay lại và [so sánh với](https://www.overleaf.com/blog/154-a-first-look-at-the-new-version-comparison-feature) các phiên bản quan trọng, như một "bản nháp đầu tiên" hoặc một phiên bản đã được nộp để chấm điểm hoặc xuất bản. Bạn cũng có thể [truy cập các dự án của bạn qua git](https://www.overleaf.com/blog/195), để dễ dàng làm việc ngoại tuyến hơn.

Công nghệ đứng sau khả năng chỉnh sửa cộng tác của chúng tôi được gọi là [Biến đổi thao tác](https://en.wikipedia.org/wiki/Operational_transformation), hay viết tắt là OT. Các chỉnh sửa của bạn trên Overleaf được gửi về máy chủ sau mỗi vài giây và được lưu lại. Nếu hai hoặc nhiều người cùng chỉnh sửa tệp vào cùng một thời điểm, máy chủ có thể "rebase" mỗi thay đổi chồng lên thay đổi kia, ताकि tất cả các máy khách cuối cùng đều ở cùng một phiên bản. Để thông báo cho các máy khách về những thay đổi do các máy khách khác thực hiện, chúng tôi dùng [web socket](https://en.wikipedia.org/wiki/WebSocket), một công nghệ cho phép máy chủ đẩy các cập nhật tới các máy khách đã kết nối.


---

# 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/vi/co-so-tri-thuc/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.
