From: Yves Orton Date: Sat, 20 Dec 2008 13:38:32 +0000 (+0100) Subject: use checkout -b and not the more verbose two step process X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a9b05323ead41c483da1fe0d5c3a90b2e4bc2c42;p=p5sagit%2Fp5-mst-13.2.git use checkout -b and not the more verbose two step process --- diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod index 9b74c92..27b0342 100644 --- a/pod/perlrepository.pod +++ b/pod/perlrepository.pod @@ -115,6 +115,10 @@ is up to date: Now that we have everything up to date, we need to create a temporary new branch for these changes and switch into it: + % git checkout -b orange + +which is the short form of + % git branch orange % git checkout orange @@ -183,8 +187,7 @@ you should try out the patch. First we need to create a temporary new branch for these changes and switch into it: - % git branch experimental - % git checkout experimental + % git checkout -b experimental Now we should apply the patch: