Change threshold on the similarity index for git merge with renaming involved (like -M[n] --find-renames[=n] on diff)
问题 We have some configuration options for the rename detection heuristics during diff ( log , show ) and merge : diff.renameLimit The number of files to consider when performing the copy/rename detection; equivalent to the git diff option -l. diff.renames Tells git to detect renames. If set to any boolean value, it will enable basic rename detection. If set to "copies" or "copy", it will detect copies, as well. merge.renameLimit The number of files to consider when performing rename detection