Note the correct way to make a branch to track a remote branch.
authorNicholas Clark <nick@ccl4.org>
Sun, 21 Dec 2008 12:09:33 +0000 (12:09 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 21 Dec 2008 12:09:33 +0000 (12:09 +0000)
pod/perlrepository.pod

index 0ba315d..80fe8ec 100644 (file)
@@ -133,6 +133,10 @@ To switch to another branch:
 
   % git checkout origin/maint-5.8-dor
 
+To make a local branch of a remote branch:
+
+  % git checkout -b maint-5.10 origin/maint-5.10
+
 To switch back to blead:
 
   % git checkout blead