3

Would it be possible to compare Branch 1 and Branch 2 changes against Master in this scenario?

* * Branch 2 | / |/ | * Branch 1 |/ * Master 

Ideally this is something difftool would be able do.

1 Answer 1

2

Not in one operation: comparing multiple branches with master would be a sequential process:

  • comparing Branch1 with master
  • comparing Branch2 with master

"Showing which files have changed between git branches" illustrates (using meld and git difftool)

git difftool -d master otherbranch 

With:

-d --dir-diff 

Copy the modified files to a temporary location and perform a directory diff on them. This mode never prompts before launching the diff tool.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.