Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] How to compare branches #739

Open
boan-jfm opened this issue May 11, 2023 · 3 comments
Open

[QUESTION] How to compare branches #739

boan-jfm opened this issue May 11, 2023 · 3 comments

Comments

@boan-jfm
Copy link

In the README:

Compare:
  Compare branches
  Compare commits
  Compare files across commits

But how do I compare two branches?

Thank you.

@boan-jfm boan-jfm changed the title [QUESTION] [QUESTION] How to compare branches May 11, 2023
@nfgferreira
Copy link

nfgferreira commented Jul 22, 2023

I had the same question but eventually found the procedure. I would prefer to select 2 commits on the log pane and have the differences shown at the bottom pane (please take that as a suggestion), but instead you should:

  1. Click on the More option at the right hand side of one of the commits you want to compare and select "Select this commit".
  2. Click on the More option of the other commit and select the "Compare with ..." option.
  3. After that, the Explorer at the left hand side will show a "COMPARE COMMITS" folder that shows the differences between them.

@jackjameshoward
Copy link

I'd like to know how to compare branches to.
@nfgferreira your answer is how to compare commits. Do you know how to compare whole branches?

@nfgferreira
Copy link

I would say that branches are commits, so you go to the general case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants