8000 Remove out-dated feature, fixes #87 · staticor/github-cheat-sheet@f0cfc20 · GitHub
[go: up one dir, main page]

Skip to content

Commit f0cfc20

Browse files
committed
Remove out-dated feature, fixes tiimgreen#87
1 parent 57f1b82 commit f0cfc20

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

README.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,7 @@ https://github.com/{user}/{repo}/branches
118118

119119
From here you can access the compare page or delete a branch with a click of a button.
120120

121-
![Compare branches not merged into master in jquery/jquery repo - https://github.com/jquery/jquery/branches](http://i.imgur.com/gKWPe8a.png)
122-
123-
However, often you need to compare branches to a branch other than `master` (e.g. `development`). To do this, append the URL with the name of the branch like so:
124-
125-
```
126-
https://github.com/{user}/{repo}/branches/{branch}
127-
```
128-
129-
![Compare branches not merged into `1.x-master` in jquery/jquery repo - https://github.com/jquery/jquery/branches/1.x-master](http://i.imgur.com/jpc6Urb.png)
130-
131-
To see the merged branches, append `?merged=1` to the URL.
132-
133-
![Compare branches merged in to `1.x-master` in jquery/jquery repo - https://github.com/jquery/jquery/branches/1.x-master?merged=1](http://i.imgur.com/KmYyCVh.png)
134-
135-
This view allows you to delete branches easily from the page, without using the command-line.
121+
![Compare branches not merged into master in rails/rails repo - https://github.com/rails/rails/branches](http://i.imgur.com/0FEe30z.png)
136122

137123
#### Comparing Branches
138124
To use GitHub to compare branches, change the URL to look like this:
@@ -170,7 +156,7 @@ https://github.com/rails/rails/compare/master@{2014-10-04}...master
170156
To use GitHub to compare branche 5CC9 s across forked repositories, change the URL to look like this:
171157

172158
```
173-
https://github.com/user/repo/compare/{foreign-user}:{branch}...{own-branch}
159+
https://github.com/{user}/{repo}/compare/{foreign-user}:{branch}...{own-branch}
174160
```
175161

176162
For example:

0 commit comments

Comments
 (0)
0