RUN git fetch -q --depth 1 origin $ROOTLESSKIT_VERSION +refstagsrefstags && git checkout -c httpsslVerify=false -q FETCH_HEAD 这个有什么问题吗报错error unknown switch c
这个命令中的"-c"选项是无效的,应该是误输入。可以将命令修改为:
git fetch -q --depth 1 origin "${ROOTLESSKIT_VERSION}" +refs/tags/*:refs/tags/* && git checkout -q FETCH_HEAD
这样就可以避免报错了。
原文地址: https://www.cveoy.top/t/topic/eGxR 著作权归作者所有。请勿转载和采集!