{"thread":{"id":"17328","subject":"[PATCH] gittutorial: remove misleading note","startedAt":"2009-01-23T18:02:29Z","lastAt":"2009-01-23T21:17:34Z","messageCount":3,"participants":["Miklos Vajna","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"101673","messageId":"1232733749-6120-1-git-send-email-vmiklos@frugalware.org","threadId":"17328","inReplyTo":null,"subject":"[PATCH] gittutorial: remove misleading note","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2009-01-23T18:02:29Z","receivedAt":"2009-01-23T18:02:29Z","isPatch":true,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"In the tutorial Alice initializes the repository, and Bob clones it. So\nBob can just do a 'git pull', but Alice will need 'git pull <url>\n<branch>'.\n\nThe note suggested that the branch parameter is not necessary, which is\nno longer true these days.\n\nSigned-off-by: Miklos Vajna <vmiklos@frugalware.org>\n---\n\nThe problem was reported by DanC on IRC.\n\n Documentation/gittutorial.txt |    4 +---\n 1 files changed, 1 insertions(+), 3 deletions(-)\n\ndiff --git a/Documentation/gittutorial.txt b/Documentation/gittutorial.txt\nindex 458fafd..c5d5596 100644\n--- a/Documentation/gittutorial.txt\n+++ b/Documentation/gittutorial.txt\n@@ -308,9 +308,7 @@ alice$ git pull /home/bob/myrepo master\n \n This merges the changes from Bob's \"master\" branch into Alice's\n current branch.  If Alice has made her own changes in the meantime,\n-then she may need to manually fix any conflicts.  (Note that the\n-\"master\" argument in the above command is actually unnecessary, as it\n-is the default.)\n+then she may need to manually fix any conflicts.\n \n The \"pull\" command thus performs two operations: it fetches changes\n from a remote branch, then merges them into the current branch.\n-- \n1.6.1\n"},{"id":"101679","messageId":"7vk58lvoe5.fsf@gitster.siamese.dyndns.org","threadId":"17328","inReplyTo":"1232733749-6120-1-git-send-email-vmiklos@frugalware.org","subject":"Re: [PATCH] gittutorial: remove misleading note","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-01-23T19:00:18Z","receivedAt":"2009-01-23T19:00:18Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Miklos Vajna <vmiklos@frugalware.org> writes:\n\n> In the tutorial Alice initializes the repository, and Bob clones it. So\n> Bob can just do a 'git pull', but Alice will need 'git pull <url>\n> <branch>'.\n>\n> The note suggested that the branch parameter is not necessary, which is\n> no longer true these days.\n\nSo we have a usability regression here.  Perhaps we need to fix that\ninstead?\n"},{"id":"101693","messageId":"20090123211734.GJ21473@genesis.frugalware.org","threadId":"17328","inReplyTo":"7vk58lvoe5.fsf@gitster.siamese.dyndns.org","subject":"Re: [PATCH] gittutorial: remove misleading note","fromName":"Miklos Vajna","fromEmail":"vmiklos@frugalware.org","sentAt":"2009-01-23T21:17:34Z","receivedAt":"2009-01-23T21:17:34Z","isPatch":true,"sender":{"key":"vmiklos@frugalware.org","avatar":"https://gravatar.com/avatar/401c1cbbb3a5d13e650c691a2c71d6fd0b80df1a01bc74d9f1972675dd58f2bd?d=mp&s=160"},"body":"On Fri, Jan 23, 2009 at 11:00:18AM -0800, Junio C Hamano <gitster@pobox.com> wrote:\n> So we have a usability regression here.  Perhaps we need to fix that\n> instead?\n\nI thought that's on purpose.\n\nBy doing a 'git fetch <url>' I don't say \"what\" to fetch, just \"from\nwhere\".\n\nWould it be better to fetch HEAD in that case?\n"}]}