我将本地提交推送到远程 git 服务器并收到以下警告消息:
remote: warning: only found copies from modified paths due to too many files.
remote: warning: you may want to set your diff.renamelimit variable to at least 19824 and retry the command.
但实际上我已经将 diff.renamelimit 设置为 0(我认为零意味着无限,对吧?)。
$ git config --list
...
diff.renamelimit=0
那么我该怎么做才能避免这个警告呢?谢谢。
最佳答案
git config merge.renameLimit 999999
merge.renameLimit 是什么意思
The number of files to consider when performing rename detection during a merge; if not specified, defaults to the value of diff.renameLimit.
关于git - 执行 git push 时出现 "diff.renamelimit variable"警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7830728/