# Comparing branches

The compare page shows the commits and files by which a branch differs from the main one, and opens a pull request right there.

## Open a comparison

* On the branches page, next to a branch — **Compare**.
* Or the address `/{owner}/{name}/compare/main...my-branch`: the base on the left, what you compare
  on the right.
* Without an address — the compare form `/{owner}/{name}/compare`, where both branches are picked
  from lists.

## What is shown

The list of commits missing from the base, and the files with a line-by-line diff: added lines with
a plus, removed lines with a minus.

## Open a pull request

Above the diff is the pull request form: title and description. Submit it, and the change goes to
review. Next — [Creating a pull request](https://skillok.org/docs/en/issues-and-pulls/pull-requests/creating-a-pull-request).

---

https://skillok.org/docs/en/repositories/branches-and-commits/comparing-branches
