From fc0e28b11afd5c41dea40e35eab2260f59d87e8b Mon Sep 17 00:00:00 2001 From: tekkub Date: Thu, 15 Jul 2010 19:21:46 -0600 Subject: Space saves the day! --- _posts/2009-10-16-post-receive-hooks.markdown | 6 +++--- _posts/2010-01-19-multiple-keys.markdown | 2 +- _posts/2010-03-02-changing-author-info.markdown | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_posts/2009-10-16-post-receive-hooks.markdown b/_posts/2009-10-16-post-receive-hooks.markdown index 8826423..c971a31 100644 --- a/_posts/2009-10-16-post-receive-hooks.markdown +++ b/_posts/2009-10-16-post-receive-hooks.markdown @@ -17,19 +17,19 @@ What we'll send is JSON containing information about the push and the commits in Here's the template we use in Ruby to generate the JSON: - + This is sent as a POST with a single parameter: 'payload' So, for example, you'd do something like this in a [Sinatra](http://sinatra.rubyforge.org/) server: - + The `commits` array is ordered with the most recent commit as the first element. The last element, therefor, is the oldest commit. Here's an example payload: - + For more information on this technique, see the [Web Hooks Wiki](http://webhooks.pbwiki.com/). diff --git a/_posts/2010-01-19-multiple-keys.markdown b/_posts/2010-01-19-multiple-keys.markdown index 52c5c6e..fc82d5f 100644 --- a/_posts/2010-01-19-multiple-keys.markdown +++ b/_posts/2010-01-19-multiple-keys.markdown @@ -21,7 +21,7 @@ Configuring SSH Once SSH has access to both keys, you need to tell it which key to use for which server. In most cases you can assume that SSH will fall back to `~/.ssh/id_rsa` by default, but we're going to force it anyway. To begin, open `~/.ssh/config` in your favorite editor. - + In short what this does is tells SSH to use the client key when connecting to the server github-client, which is really github.com. diff --git a/_posts/2010-03-02-changing-author-info.markdown b/_posts/2010-03-02-changing-author-info.markdown index 0dbab43..099aaf3 100644 --- a/_posts/2010-03-02-changing-author-info.markdown +++ b/_posts/2010-03-02-changing-author-info.markdown @@ -9,7 +9,7 @@ If you need to modify the author info in your repo's history, you can do so with __Big bold warning__ This action is destructive to your repo's history. It's best to do this on a clone, just in case. Also beware that this should not be performed on a repo that has been shared with others. Use at your own risk. - +