{"thread":{"id":"11925","subject":"[PATCH 2/2] Documentation/git-svn.txt: Fix \"git clone\" example","startedAt":"2008-02-06T23:45:03Z","lastAt":"2008-02-07T14:52:27Z","messageCount":3,"participants":["Peter Harris","Karl Hasselström"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"67733","messageId":"alpine.OSX.1.00.0802061843420.27901@mac.local","threadId":"11925","inReplyTo":null,"subject":"[PATCH 2/2] Documentation/git-svn.txt: Fix \"git clone\" example","fromName":"Peter Harris","fromEmail":"git@peter.is-a-geek.org","sentAt":"2008-02-06T23:45:03Z","receivedAt":"2008-02-06T23:45:03Z","isPatch":true,"sender":{"key":"git@peter.is-a-geek.org","avatar":null},"body":"\nIf you don't \"git reset --hard\" to create master, then the \"git svn rebase\"\nstep fails.\n\nAlso add \"-s\" to use a satandard layout, and remove the bogus '=' from\nthe \"git config\" step.\n\nSigned-off-by: Peter <git@peter.is-a-geek.org>\n---\n Documentation/git-svn.txt |    8 +++++---\n 1 files changed, 5 insertions(+), 3 deletions(-)\n\ndiff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt\nindex f94d0f9..b293a66 100644\n--- a/Documentation/git-svn.txt\n+++ b/Documentation/git-svn.txt\n@@ -455,16 +455,18 @@ have each person clone that repository with 'git clone':\n \n ------------------------------------------------------------------------\n # Do the initial import on a server\n-\tssh server \"cd /pub && git svn clone http://svn.foo.org/project\n+\tssh server \"cd /pub && git svn clone -s http://svn.foo.org/project\n # Clone locally - make sure the refs/remotes/ space matches the server\n \tmkdir project\n \tcd project\n \tgit init\n \tgit remote add origin server:/pub/project\n-\tgit config --add remote.origin.fetch=+refs/remotes/*:refs/remotes/*\n+\tgit config --add remote.origin.fetch +refs/remotes/*:refs/remotes/*\n \tgit fetch\n # Initialize git-svn locally (be sure to use the same URL and -T/-b/-t options as were used on server)\n-\tgit svn init http://svn.foo.org/project\n+\tgit svn init -s http://svn.foo.org/project\n+# Check out the svn branch you want to work on\n+\tgit reset --hard trunk\n # Pull the latest changes from Subversion\n \tgit svn rebase\n ------------------------------------------------------------------------\n-- \n1.5.3.7\n"},{"id":"67807","messageId":"20080207143443.GA24687@diana.vm.bytemark.co.uk","threadId":"11925","inReplyTo":"alpine.OSX.1.00.0802061843420.27901@mac.local","subject":"Re: [PATCH 2/2] Documentation/git-svn.txt: Fix \"git clone\" example","fromName":"Karl Hasselström","fromEmail":"kha@treskal.com","sentAt":"2008-02-07T14:34:43Z","receivedAt":"2008-02-07T14:34:43Z","isPatch":true,"sender":{"key":"kha@treskal.com","avatar":"https://gravatar.com/avatar/f0120c734b5279b345075a28521e1ac66acb20c9913ffe9bf6ae97e53f7f3f13?d=mp&s=160"},"body":"On 2008-02-06 18:45:03 -0500, Peter Harris wrote:\n\n> satandard layout\n\nNon-satandard spelling.\n\n-- \nKarl Hasselström, kha@treskal.com\n      www.treskal.com/kalle\n"},{"id":"67810","messageId":"eaa105840802070652w55570f8ar3a6c4e0d00aa499d@mail.gmail.com","threadId":"11925","inReplyTo":"20080207143443.GA24687@diana.vm.bytemark.co.uk","subject":"Re: [PATCH 2/2] Documentation/git-svn.txt: Fix \"git clone\" example","fromName":"Peter Harris","fromEmail":"git@peter.is-a-geek.org","sentAt":"2008-02-07T14:52:27Z","receivedAt":"2008-02-07T14:52:27Z","isPatch":true,"sender":{"key":"git@peter.is-a-geek.org","avatar":null},"body":"On Feb 7, 2008 9:34 AM, Karl Hasselström <kha@treskal.com> wrote:\n> On 2008-02-06 18:45:03 -0500, Peter Harris wrote:\n> > satandard layout\n>\n> Non-satandard spelling.\n\nOh, the embarrassment.\n\nAn email with corrected spelling is on its way.\n\nPeter Harris\n"}]}