0 votes
1 view
in Devops and Agile by (28.1k points)

However, I'd like to see a visual diff between two branches. So far, my best bet seems to be:

git diff --name-status master dev

which isn't very informative and not very visual.

Is there anything better out there?

1 Answer

0 votes
by (48k points)

To visualize diff between the branches you could use:

git diff branch1..branch2

This command will show the differences between branch1 and branch2.

Like this will compare the tips of each branch.

If you need a gui then you can use git diff tools to visualize the diff between the branches.

Reference: https://git-scm.com/docs/git-diff 


Welcome to Intellipaat Community. Get your technical queries answered by top developers !