> For the complete documentation index, see [llms.txt](https://academy.shade.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.shade.inc/shade-academy/shade-academy-zh/su-cai/version-control-and-stacking.md).

# 版本控制与堆叠

## 版本管理与比较

在你的创意作品经过评审和审批流程时，Shade 让你能够以有序的方式嵌套各个版本，并直观比较版本之间发生了哪些变化。比较资产并不局限于嵌套版本；你也可以从文件夹层级、视图、集合或搜索结果中选择文件，并进行比较。

主要功能：

* 一个堆栈中可存在的版本数量不受限制
* 最多可同时并排比较 6 个资产
* 比较混合媒体类型，以确保视频、照片和设计保持统一的整体风格

### 比较尚未进行版本管理的媒体

在你的文件夹层级、视图、集合或搜索结果中：

1. 最多选择 6 个文件
2. 右键单击任意已选项目
3. 选择 **比较 X 个资产**

将会打开一个查看器窗口，显示所有已选资产。

* 按下播放按钮可同时播放任意视频文件
* 选择一个文件以查看现有评论或留下评论
* 如果你想将整个页面用于查看比较内容，请关闭评论面板

### 版本控制、版本管理和版本比较

#### 创建版本

版本创建有 3 种方式：

1. 在 Shade 中上传新文件，并将其放在与上一版本或版本堆栈相同的文件夹中
2. 将其直接拖放到旧版本或现有版本堆栈上

或者

1. 右键单击你要添加新版本的文件
2. 选择 **上传新版本**

或者

1. 双击文件将其打开
2. 点击右上角的三点菜单
3. 选择 **上传新版本**

#### 管理版本

在查看文件和文件夹时：

1. 右键单击带有版本的文件
2. 选择 **管理版本**
3. 点击并拖动版本号旁边的拖拽手柄以修改版本顺序
4. 点击某个版本的三点菜单，将其从版本堆栈中移除

在资产查看器/播放器页面中：

1. 点击右上角的三点菜单
2. 选择 **管理版本**
3. 点击并拖动版本号旁边的拖拽手柄以修改版本顺序
4. 点击某个版本的三点菜单，将其从版本堆栈中移除

#### 比较版本

比较版本有 3 种方式：

1. 右键单击带有版本的文件
2. 选择 **比较版本**
3. 选择要比较的版本

或者

1. 双击文件将其打开
2. 点击右上角的三点菜单
3. 选择 **比较版本**
4. 选择要比较的版本

会打开一个查看器窗口，显示所有选定的版本。

* 按下播放按钮可同时播放任意视频文件
* 选择一个文件以查看现有评论或留下评论
* 如果你想将整个页面用于查看比较内容，请关闭评论面板

### 比较视图

比较资产或版本时，你可以在三种视图之间切换：

* **并排** 将资产并排显示。此视图始终可用。
* **堆叠** 将资产层叠在一起显示。当所有资产都是图片或视频时可用，最多支持 4 个视频。
* **滑动** 可在两个资产之间滑动切换。至少需要两张图片、两个视频或两份文档。

你也可以使用键盘切换视图： **`b`** 用于并排视图， **`t`** 用于堆叠视图，和 **`w`** 用于滑动视图。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.shade.inc/shade-academy/shade-academy-zh/su-cai/version-control-and-stacking.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
