Sublimerge とのマージの競合を解決するように git を構成しました。このために、私は実行されました:
git config --global merge.tool sublimerge
git config --global mergetool.sublimerge.cmd 'subl -n --wait \"$REMOTE\" \"$BASE\" \"$LOCAL\" \"$MERGED\" --command \"sublimerge_diff_views\"'
git config --global mergetool.sublimerge.trustExitCode 'false'
git config --global diff.tool sublimerge
git config --global difftool.sublimerge.cmd 'subl -n --wait \"$REMOTE\" \"$LOCAL\" --command \"sublimerge_diff_views {\\\"left_read_only\\\": true, \\\"right_read_only\\\": true}\"'
git mergetool を実行すると、Sublime が 4 つの列 (.remote、.base、.local、および現在のファイル) で開きます。ただし、すべての列は空です。
また、すべての列名には、ファイル拡張子の後に「file.php.REMOTE.44625.php」、「file.php.BASE.44625.php」、「file.php.LOCAL.44625.php」、「file.php」のように「」が付いています。 "。その後、競合を編集できません。
誰でも私を助けることができますか?