in Technology by
How can we see the differences between the two branches in Git?

1 Answer

0 votes
by
git diff branch_1..branch_2

That will produce the diff between the tips of the two branches. If you'd prefer to find the diff from their common ancestor to test, you can use three dots instead of two:

git diff branch_1...branch_2

Related questions

0 votes
    What is the main difference between what we see in the two pictures alongside (A and B). ... Science,Science proposed by,electromagnetic theory engineering physics,Science nptel...
asked Nov 7, 2021 in Education by JackTerrance
0 votes
    How to clone all remote branches in Git?...
asked Jan 7, 2021 in Technology by JackTerrance
0 votes
    I cloned a Git repository, which contains about five branches. However, when I do git branch I only see one of ... staging * etc... Select the correct answer from above options...
asked Feb 4, 2022 in Education by JackTerrance
0 votes
    I am trying to create a "feature branch" from golang. The following code is not working: reader : ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 9, 2022 in Education by JackTerrance
0 votes
    Give scientific reasons: We can see biodiversity on three levels. Select the correct answer from above ... proposed by,electromagnetic theory engineering physics,Science nptel...
asked Nov 7, 2021 in Education by JackTerrance
0 votes
    State the two differences between Built-In and Repository in Talend?...
asked Mar 16, 2021 in Technology by JackTerrance
0 votes
    What are the differences between t.test() and t.data.frame()? When do you use these two functions?...
asked Oct 16, 2020 in Technology by JackTerrance
0 votes
    I am familiar with tools such as tkDiff and WinMerge and am aware of how to see the difference between ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    I am familiar with tools such as tkDiff and WinMerge and am aware of how to see the difference between ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 17, 2022 in Education by JackTerrance
0 votes
    Give at least two to three differences between rint() and round() in Java… Please give the answer in points.. Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    two differences between call by value and call by refernce plz Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    Phylum Platyhelminthes and Phylum Aschelminthes. OR Write any two points of differences between flat worms ... proposed by,electromagnetic theory engineering physics,Science nptel...
asked Nov 7, 2021 in Education by JackTerrance
0 votes
    Two ports containing no sources in their branches are called? (a) active ports (b) passive ports (c) one port ... for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 13, 2021 in Education by JackTerrance
0 votes
    Two ports containing sources in their branches are called? (a) three port (b) one port (c) passive ports (d) ... for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 13, 2021 in Education by JackTerrance
...