Florian Middendorf
Florian Middendorf

Reputation: 59

GIT Changed Files Between two Branches

I have a specific question to GIT History. It is possible to compare two branches and get a list with all files there changed? If yes then tell me how, please.

The reason is I need merge a branch in the other branch. From a developer there is not aviable anymore... And I need to know which files he has changed.

Thanks a lot, Florian

Upvotes: 1

Views: 63

Answers (1)

hspandher
hspandher

Reputation: 16733

Just check the diff between two branches -

git diff branch1 branch2

Use stat param to list only differing files.

git diff --stat branch1 branch2

Upvotes: 1

Related Questions