From 3804dbc42d0208d0c356393249f4fa8df0bc95d9 Mon Sep 17 00:00:00 2001 From: zhangxiaowei16 Date: Mon, 13 Jan 2025 17:34:18 +0800 Subject: [PATCH] Add git init command before downloading code --- en/quickstart/Download_Vela_sources.md | 2 ++ zh-cn/quickstart/Download_Vela_sources_zh-cn.md | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/en/quickstart/Download_Vela_sources.md b/en/quickstart/Download_Vela_sources.md index 3ad9b65..05efe2b 100644 --- a/en/quickstart/Download_Vela_sources.md +++ b/en/quickstart/Download_Vela_sources.md @@ -18,6 +18,7 @@ The openvela source code is located in a Git repository hosted by [GitHub](https - Github (Public key registration is required. Refer to [Github documents](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account): ```bash + git init # Install Git LFS (Large File Storage) for managing large files sudo apt install git-lfs git lfs install @@ -29,6 +30,7 @@ The openvela source code is located in a Git repository hosted by [GitHub](https - Gitee (Public key registration is required. Refer to [Gitee document](https://gitee.com/help/articles/4191): ```bash + git init # Install Git LFS (Large File Storage) for managing large files sudo apt install git-lfs git lfs install diff --git a/zh-cn/quickstart/Download_Vela_sources_zh-cn.md b/zh-cn/quickstart/Download_Vela_sources_zh-cn.md index 007c6e8..a20d967 100644 --- a/zh-cn/quickstart/Download_Vela_sources_zh-cn.md +++ b/zh-cn/quickstart/Download_Vela_sources_zh-cn.md @@ -18,6 +18,7 @@ openvela 源码位于由 [GitHub](https://github.com/open-Vela) 或 [Gitee](http - Github(需注册公钥,请参考[Github文档](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account)): ``` bash + git init # Install Git LFS (Large File Storage) for managing large files sudo apt install git-lfs git lfs install @@ -29,6 +30,7 @@ openvela 源码位于由 [GitHub](https://github.com/open-Vela) 或 [Gitee](http - Gitee(需注册公钥,请参考[码云文档](https://gitee.com/help/articles/4191)): ```bash + git init # Install Git LFS (Large File Storage) for managing large files sudo apt install git-lfs git lfs install @@ -37,7 +39,7 @@ openvela 源码位于由 [GitHub](https://github.com/open-Vela) 或 [Gitee](http repo init --partial-clone -u git@gitee.com:open-vela/manifests.git -b dev -m openvela.xml --git-lfs ``` -## 下载 openvela 源码 +## 下载源码 运行如下命令下载 openvela 源码树至工作目录: