From: Ævar Arnfjörð Bjarmason Date: Tue, 20 Apr 2010 19:14:24 +0000 (+0000) Subject: Consistently use a topic branch in the GitHub examples X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e98adcab11bec9a0f9fc869205a4d0fb0bafab68;p=p5sagit%2Fp5-mst-13.2.git Consistently use a topic branch in the GitHub examples Also use an example of an actual topic branch commit of that got into Perl (<51dd1af81002161108rff277d7r6d0ccee6b45982a0@mail.gmail.com>). Previously the docs referenced 3adac458cb which doesn't exist in the repository, 0c24b290ae does. --- diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod index 3211318..00dbbfa 100644 --- a/pod/perlrepository.pod +++ b/pod/perlrepository.pod @@ -764,24 +764,24 @@ and the following information: If someone has provided a branch via GitHub and you are a committer, you should use the following in your perl-ssh directory: - % git remote add dandv git://github.com/dandv/perl.git - % git fetch dandv + % git remote add avar git://github.com/avar/perl.git + % git fetch avar Now you can see the differences between the branch and blead: - % git diff dandv/blead + % git diff avar/orange And you can see the commits: - % git log dandv/blead + % git log avar/orange If you approve of a specific commit, you can cherry pick it: - % git cherry-pick 3adac458cb1c1d41af47fc66e67b49c8dec2323f + % git cherry-pick 0c24b290ae02b2ab3304f51d5e11e85eb3659eae Or you could just merge the whole branch if you like it all: - % git merge dandv/blead + % git merge avar/orange And then push back to the repository: