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.
masterとbug1の2つのブランチがあります。私はbug1をチェックアウトし、たくさんの変更と複数のコミットを行いました。ブランチで変更されたすべてのファイルのリストを取得するにはどうすればよいですか?ハッシュ、日付、またはその他のコミット関連の詳細には興味がありません。タッチされたファイルの簡単なリストを取得したいだけです。
git diff --name-only master bug1
あなたのマスターから:
git diff --name-status BRANCH
詳細については、git diffmanページを参照してください。
git diff