Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/website/docs/pages/commands/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Each subcommand has its own page in this documentation, except for the mirrored
| [git fetch](https://git-scm.com/docs/git-fetch) | Download objects and refs from another repository |
| [git format-patch](https://git-scm.com/docs/git-format-patch) | Prepare patches for e-mail submission |
| [git gc](https://git-scm.com/docs/git-gc) | Cleanup unnecessary files and optimize the local repository |
| [git gitk](https://git-scm.com/docs/git-gitk) | The Git repository browser |
| [gitk](https://git-scm.com/docs/gitk) | The Git repository browser |
| [git grep](https://git-scm.com/docs/git-grep) | Print lines matching a pattern |
| [git gui](https://git-scm.com/docs/git-gui) | A portable graphical interface to Git |
| [git init](https://git-scm.com/docs/git-init) | Create an empty Git repository or reinitialize an existing one |
Expand Down
2 changes: 1 addition & 1 deletion apps/website/docs/pages/guide/sparo_profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ sparo checkout --add-profile team-c
How to checkout no profile at all? That is, how to return to the initial state of a clean `sparo clone` that only includes the [skeleton](../reference/skeleton_folders.md) folders? The answer is to use the `--no-profile` parameter:

```shell
# NOT IMPLEMENTED YET - check out just the skeleton folders
# Check out just the skeleton folders
# without applying any profiles
sparo checkout --no-profile
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Sparo 优化了 Git 操作在大型前端 monorepo 中的性能。
## 主要特点

- **熟悉的界面:** `sparo` 命令行工具 (CLI) 提供了 **更好的默认设置** 和 **性能建议**,而无需更改熟悉的 `git` 语法。(本地 `git` CLI 也受支持。)
- **经过验证的解决方案:** Git 提供了[许多优化大型仓库的基础能力](https://tiktok.github.io/sparo/pages/reference/git_optimization/); Sparo 基于这些能力提供上层的解决方案。
- **简化的稀疏检出:** 使用稀疏检出[配置文件](https://tiktok.github.io/sparo/pages/guide/sparo_profiles/) 来定义文件检出范围,而不是复杂的 "cones" 和 globs。
- **经过验证的解决方案:** Git 提供了[许多优化大型仓库的基础能力](./pages/reference/git_optimization.md); Sparo 基于这些能力提供上层的解决方案。
- **简化的稀疏检出:** 使用稀疏检出[配置文件](./pages/guide/sparo_profiles.md) 来定义文件检出范围,而不是复杂的 "cones" 和 globs。
- **前端集成:** Sparo 利用了 [Rush](https://rushjs.io/) 和 [PNPM](https://pnpm.io/) 的工作区配置,甚至可以自动检出项目依赖项。
- **双重工作流程:** `sparo-ci` 工具实现了一个专门为持续集成 (CI) 流水线优化的检出模型。
- **额外的安全措施:** 避免常见的 Git 错误,例如在活动视图之外的暂存文件检出。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Sparo 有四种类型的子命令:
| [git fetch](https://git-scm.com/docs/git-fetch) | 从另一个仓库下载对象和引用 |
| [git format-patch](https://git-scm.com/docs/git-format-patch) | 为电子邮件提交准备补丁 |
| [git gc](https://git-scm.com/docs/git-gc) | 清理不必要的文件并优化本地仓库 |
| [git gitk](https://git-scm.com/docs/git-gitk) | Git 仓库浏览器 |
| [gitk](https://git-scm.com/docs/gitk) | Git 仓库浏览器 |
| [git grep](https://git-scm.com/docs/git-grep) | 打印匹配模式的行 |
| [git gui](https://git-scm.com/docs/git-gui) | Git 的可移植图形界面 |
| [git init](https://git-scm.com/docs/git-init) | 创建一个空的 Git 仓库或重新初始化现有的仓库 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ sparo checkout --add-profile team-c
如何完全不检出任何配置文件?也就是说,如何返回到仅包含[骨架](../reference/skeleton_folders.md)文件夹的干净 `sparo clone` 的初始状态?答案是使用 `--no-profile` 参数:

```shell
# 尚未实现 - 仅检出骨架文件夹
# 仅检出骨架文件夹
# 而不应用任何配置文件
sparo checkout --no-profile
```
Expand Down
7 changes: 1 addition & 6 deletions apps/website/i18n/zh-cn/docusaurus-theme-classic/footer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
{
"copyright": {
"message": "Copyright © 2024 TikTok Pte. Ltd.",
"description": "The footer copyright -- do not translate"
}
}
{}