1
0
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:
Tim Green
2015-01-25 16:54:36 +00:00
parent 23912acaca
commit 7d4ef47a3a

View File

@@ -148,7 +148,12 @@ https://github.com/rails/rails/compare/master@{2014-10-04}...master
![Another compare example](http://i.imgur.com/5dtzESz.png)
...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)