Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行py脚本安装时提示错误 #24

Open
itcheng2019 opened this issue Jul 24, 2019 · 1 comment
Open

执行py脚本安装时提示错误 #24

itcheng2019 opened this issue Jul 24, 2019 · 1 comment

Comments

@itcheng2019
Copy link

[root@localhost build]# python tseer_deploy.py
[INFO] 2019-07-24 11:43:05 Starting deploy tars...
[INFO] 2019-07-24 11:43:05 downloading tars...
error: option `recurse-submodules' takes no value
用法:git clone [选项] [--] <版本库> [<路径>]

-v, --verbose         更加详细
-q, --quiet           更加安静
--progress            强制显示进度报告
-n, --no-checkout     不创建一个检出
--bare                创建一个裸版本库
--mirror              创建一个镜像版本库(也是裸版本库)
-l, --local           从本地版本库克隆
--no-hardlinks        不使用本地硬链接,始终复制
-s, --shared          设置为共享版本库
--recursive           在克隆时初始化子模组
--recurse-submodules  在克隆时初始化子模组
--template <模板目录>
                      模板目录将被使用
--reference <版本库>  引用版本库
-o, --origin <名称>   使用<名称>而不是 'origin' 去跟踪上游
-b, --branch <分支>   检出<分支>而不是远程HEAD
-u, --upload-pack <路径>
                      远程 git-upload-pack 路径
--depth <深度>        创建一个指定深度的浅克隆
--single-branch       只克隆一个分支、HEAD 或 --branch
--separate-git-dir <git目录>
                      git目录和工作区分离
-c, --config <key=value>
                      在新版本库中设置配置信息

[ERROR] 2019-07-24 11:43:05 Download Tars failed.

@itcheng2019
Copy link
Author

这个错误是git版本太低的原因,升级git到2.18.0即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant