同じファイルのstaged
とunstaged
バージョンの違いを表示する方法はありますか?例えばdifftoolを使用して同じファイルのステージングされたバージョンとステージングされていないバージョンの違い
:
Changes to be committed:
modified: conf/application.conf
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: conf/application.conf
私は変更を上演し、その後、私はそれをステージングせずに、再度ファイルを変更する場合に発生します。私はdiff
/difftool
コマンドを使用する必要があるため
EDIT
git status -vv
コマンドは、十分ではありません。実際には、あまりにも多くのファイルに変更が多すぎるため、すべてをスクロールするのは効率的ではないからです。しかしdiff
/difftool
私が興味のあるファイルを指定することができます。
それは同じファイルです。 – Maroun
@MarounMarounはい、それがポイントです。 Gitはファイル自体ではなく、ファイルの変更に集中します。この質問を参照してください:https://stackoverflow.com/questions/24837841/git-can-a-file-be-both-staged-and-unstaged-for-commit – DrKaoliN