mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-08 17:06:36 +02:00
Remove out-dated feature, fixes #87
This commit is contained in:
18
README.md
18
README.md
@@ -118,21 +118,7 @@ https://github.com/{user}/{repo}/branches
|
||||
|
||||
From here you can access the compare page or delete a branch with a click of a button.
|
||||
|
||||

|
||||
|
||||
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:
|
||||
|
||||
```
|
||||
https://github.com/{user}/{repo}/branches/{branch}
|
||||
```
|
||||
|
||||

|
||||
|
||||
To see the merged branches, append `?merged=1` to the URL.
|
||||
|
||||

|
||||
|
||||
This view allows you to delete branches easily from the page, without using the command-line.
|
||||

|
||||
|
||||
#### Comparing Branches
|
||||
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
|
||||
To use GitHub to compare branches across forked repositories, change the URL to look like this:
|
||||
|
||||
```
|
||||
https://github.com/user/repo/compare/{foreign-user}:{branch}...{own-branch}
|
||||
https://github.com/{user}/{repo}/compare/{foreign-user}:{branch}...{own-branch}
|
||||
```
|
||||
|
||||
For example:
|
||||
|
Reference in New Issue
Block a user