You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe how to work with the GitHub branches page:
- [x] Basic comparing
- [x] *Hidden* - How to change the base branch. Something otherwise available only locally.
- [x] Show the merged branches.
[*Read more about the Git `clone` command.*](http://git-scm.com/docs/git-clone)
100
101
102
+
### Compare all branches to another branch
103
+
104
+
If you go to (click the branches link next to commits):
105
+
106
+
```
107
+
https://github.com/{user}/{repo}/branches
108
+
```
109
+
110
+
You would see a list of all branches which are not merged into the main branch (e.g. `master`).
111
+
112
+
You could go to the compare page or delete a branch with a click of a button.
113
+
114
+

115
+
116
+
However often you need to compare branches to a branch other than `master` (e.g. `development`). Just append the name of the branch to the URL like so:

123
+
124
+
If you want to see the merged branches you need to append `?merged=1` to the URL. There is a link of that on top.
125
+
126
+

127
+
128
+
This view is very nice if you want to find yout which branches to delete (and delete them right from the page) right on GitHub.com.
129
+
101
130
### Comparing Branches
102
131
To use GitHub to compare branches, change the URL to look like this:
0 commit comments