mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-13 03:13:58 +02:00
Add diff/patch view for comparing branches, closes #106
This commit is contained in:
@@ -148,7 +148,12 @@ https://github.com/rails/rails/compare/master@{2014-10-04}...master
|
||||
|
||||

|
||||
|
||||
...which allows you to see the difference on the master branch up a set time ago or a specified date.
|
||||
Branches can also be compared in `diff` and `patch` views:
|
||||
|
||||
```
|
||||
https://github.com/rails/rails/compare/master...4-1-stable.diff
|
||||
https://github.com/rails/rails/compare/master...4-1-stable.patch
|
||||
```
|
||||
|
||||
[*Read more about comparing commits across time.*](https://help.github.com/articles/comparing-commits-across-time)
|
||||
|
||||
|
Reference in New Issue
Block a user