Skip to content

Commit

Permalink
Add git init command before downloading code
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghao-xiaomi committed Jan 13, 2025
1 parent 055b549 commit 3804dbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions en/quickstart/Download_Vela_sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 3 additions & 1 deletion zh-cn/quickstart/Download_Vela_sources_zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -37,7 +39,7 @@ openvela 源码位于由 [GitHub](https://github.com/open-Vela) 或 [Gitee](http
repo init --partial-clone -u [email protected]:open-vela/manifests.git -b dev -m openvela.xml --git-lfs
```

## 下载 openvela 源码
## 下载源码

运行如下命令下载 openvela 源码树至工作目录:

Expand Down

0 comments on commit 3804dbc

Please sign in to comment.