Changes for page Getting Started with Git

Last modified by Bastian Triller on 2013/05/21 17:24

From version 97.1
edited by Kieran Kelleher
on 2011/08/09 12:54
Change comment: There is no comment for this version
To version 94.1
edited by Ray Kiddy
on 2011/08/07 02:05
Change comment: add info on testing pull-requests

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kieran
1 +XWiki.kiddyr
Content
... ... @@ -21,7 +21,6 @@
21 21  * Learn the basics.
22 22  ** [[Everyday GIT With 20 Commands Or So>>http://www.kernel.org/pub/software/scm/git/docs/everyday.html]]
23 23  ** [[Free Online Pro Git book>>http://progit.org/book/]]
24 -*** There is even a free epub version for your iPad/iPhone! [[https://github.s3.amazonaws.com/media/progit.epub]]
25 25  
26 26  * Get familiar with the reference materials available online
27 27  ** Official [[Git Documentation>>http://git-scm.com/documentation]] Site
... ... @@ -124,7 +124,7 @@
124 124  
125 125  === Testing a Pull-Request ===
126 126  
127 -It may not be obvious how to do this. If one is a committer, there is a button one can push to automatically accept a pull-request. But is this really a safe thing to do? But how can you get the diffs being suggested? It seems more complicated than it needs to be to merge the branch the pull-request was made from. One can actually use a URL that specifies just the diff. If the pull-request is at [[https://github.com/projectwonder/wonder/pull/43]], one can do:
126 +It may not be obvious how to do this. If one is a committer, there is a button one can push to automatically accept a pull-request. But is this really a safe thing to do? But how can you get the diffs being suggested? It seems more complicated than it needs to be to merge the branch the pull-request was made from. One can actually use a URL that specifies just the diff. If the pull-request is at https:~/~/github.com/projectwonder/wonder/pull/43, one can do:
128 128  
129 129  {{code}}
130 130  curl 'https://github.com/projectwonder/wonder/pull/43.patch' | git am