You can try and change the default branch to "release" in your GitHub repo, in order to see if the branches section does display branches compared to the new default one.
You also have Compare View URL:
http://github.com/<USER>/<REPO>/compare/[<START>...]<END>
Where <USER>
and <REPO>
are obvious, and <START>
and <END>
are branch names, tag names, or commit SHA1s specifying the range of history to compare.
If <START>
is omitted, the repository's default branch is assumed.
If not in github, from git shell is there any way to determice how much my branch is ahead of release branch ?
You can adapt the branch-status
script from "Show git ahead and behind info for all branches, including remotes"
git for-each-ref --format="%(upstream:track)" refs/heads
also display [ahead M, behind N]
information, but compared to the upstream branch.
See also "git ahead/behind info between master and branch?".
Here's a trick I found to compare two branches (any two) locally and show how much commits each branch is ahead of the other::
git rev-list --left-right --count master...test-branch
Note: Oct. 2019 (4 years later)
"Navigate to the default branch faster ":
The default branch for a repo will now appear at the top of the branches list when:
- viewing a file,
- changing the base branch of a pull request, and
- comparing refs.