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