jenkins 构建控制台输出hint Pulling without specifying how to reconcile divergent branches ishint discouraged You can squelch this message by running one of the followinghint commands sometime before your nex
这个问题是因为在执行 git pull 命令时,没有指定如何合并分支,导致出现了冲突。可以按照提示中的建议,在执行 git pull 命令前加上相应的参数,或者通过 git config 设置默认参数来解决问题。例如,可以执行以下命令来设置默认参数:
git config --global pull.rebase true
这将会在执行 git pull 命令时使用 rebase 策略进行分支合并。另外,如果你不确定应该使用哪种策略,可以参考 git-pull(1) 文档来了解各种策略的区别和适用场景。
原文地址: http://www.cveoy.top/t/topic/fHNb 著作权归作者所有。请勿转载和采集!