Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Git が初期化された 2 つのフォルダー (コードが異なる) があります。しかし、私がするとき
git difftool -t meld
1 つのレポが正常に動作しており、メルドでファイルを開いて比較するかどうかを尋ねられます。もう 1 つはコンソールにすべてを出力するだけで、meld を実行しませんでした。
また、両方の .git/config ファイルは同じです (URL を除く)
それがなぜなのか誰か知っていますか?
diff.toolグローバルではなくローカルに構成した可能性があります(.git/configプロジェクトとグローバルファイルの両方でファイルの内容を調べてください~/.gitconfig)。
diff.tool
.git/config
~/.gitconfig
meld をグローバル difftool として設定するには:
git config --global diff.tool meld