In new GitHub Desktop Beta, how can I compare two branches?

15.1k views Asked by At

I'm currently using GitHub Desktop Beta 0.8.0. I can easily see the diff of a commit compared to the previous commit, but I would like to see the total diff between my branch and its base branch. Is this functionality implemented in GitHub Desktop Beta yet? If so, how do I do this? The official documentation seems to still be for the old GitHub Desktop, not the 2017 Beta.

2

There are 2 answers

0
Anusuya Vijayakumar On

Issue: In GitHub Desktop, I don't get any branches populated to sync my local branch & master branch.

No Branches to Compare Issue

Solution: File-> Clone Repository -> URL -> Paster you project hit URL(ex: http://blrgitlab.xyz.com/ABC/App_Code/abcapplication.git) & give the local Path -> Clone

Clone Repository

Repository will get cloned. Then in current branch dropdown -> choose your own branch -> Then go history tab-> & you can see base/master branch to sync

3
Touhid On

To compare the current branch/commit, press Ctrl+Shift+B or choose the option shown in the image below & then select the branch &/or commit to compare.

Bonus: To compare in GitHub web, press Ctrl+Shift+C.

GitHub Desktop Version = 1.2.3

GitHub Desktop branch comparison