We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
注意:只会在构建日志中报错,不影响构建结果。
构建 git submodule 模块时,会在构建日志中报错,不过不影响构建结果。
正常获取到该子项目模块的 git 信息,无需打印报错日志
打印了报错日志,虽然不影响构建执行:
git submodule init git submodule update
mvn clean package -Dmaven.test.skip=true -pl 该子项目模块
在 git submodule 中拉取的远程项目中,是没有 .git/config 文件的,只有 .git 文件。该文件中存储了git目录的位置,如:
cat .git gitdir: ../../.git/modules/XXXXX
该子项目真实的 .git/config 位于 cat ../../.git/modules/XXX/config
The text was updated successfully, but these errors were encountered:
No branches or pull requests
注意:只会在构建日志中报错,不影响构建结果。
issue
构建 git submodule 模块时,会在构建日志中报错,不过不影响构建结果。
预期行为
正常获取到该子项目模块的 git 信息,无需打印报错日志
真实行为
打印了报错日志,虽然不影响构建执行:
复现方式
原因
在 git submodule 中拉取的远程项目中,是没有 .git/config 文件的,只有 .git 文件。该文件中存储了git目录的位置,如:
该子项目真实的 .git/config 位于 cat ../../.git/modules/XXX/config
The text was updated successfully, but these errors were encountered: