0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-24 03:31:59 +00:00

fix: git submodules

This commit is contained in:
Baoshuo Ren 2022-07-23 22:27:19 +08:00
parent 3e184ddc4a
commit 7bb4dfdc6e
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
2 changed files with 10 additions and 3 deletions

View File

@ -14,6 +14,7 @@
},
"git.ignoredRepositories": [
"./includes/testlib",
"./includes/ac-library"
"./includes/ac-library",
"./includes/ac-library/*"
],
}

View File

@ -47,13 +47,13 @@
在克隆仓库前请先安装 Git LFS并使用如下命令以获得更快的克隆速度
```bash
git lfs clone https://git.sb/baoshuo/OI-codes.git --recursive
git lfs clone https://git.sb/baoshuo/OI-codes.git
```
如果克隆仓库时不需要拉取测试数据,可以使用以下命令:
```bash
GIT_LFS_SKIP_SMUDGE=1 git clone https://git.sb/baoshuo/OI-codes.git --recursive
GIT_LFS_SKIP_SMUDGE=1 git clone https://git.sb/baoshuo/OI-codes.git
```
后期如果希望再次拉取测试数据,可以使用以下命令:
@ -69,6 +69,12 @@ git lfs pull
- [MikeMirzayanov/testlib](https://github.com/MikeMirzayanov/testlib)
- [atcoder/ac-library](https://github.com/atcoder/ac-library)
在克隆仓库后需要运行以下命令检出子模块:
```bash
git submodule update --init --recursive
```
## 文件目录结构
| 文件夹 | 测评系统 | 账号 | 说明 |