summaryrefslogtreecommitdiff
path: root/pod/perlrepository.pod
diff options
context:
space:
mode:
authorLeon Brocard <acme@astray.com>2008-12-19 16:19:59 +0000
committerLeon Brocard <acme@astray.com>2008-12-19 16:19:59 +0000
commit0908149504b99e64ba9a603f4d02aa9bcf3ced7a (patch)
treef13c9aeb2c50f617a946f47e6d48bad54122c14d /pod/perlrepository.pod
parent9b9ea58460db69b1f900e0ad364912c71e46bfd2 (diff)
downloadperl-0908149504b99e64ba9a603f4d02aa9bcf3ced7a.tar.gz
Show how to switch between branches
Diffstat (limited to 'pod/perlrepository.pod')
-rw-r--r--pod/perlrepository.pod13
1 files changed, 10 insertions, 3 deletions
diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod
index 487ffa42b4..ed7544917e 100644
--- a/pod/perlrepository.pod
+++ b/pod/perlrepository.pod
@@ -72,7 +72,8 @@ Once you have changed into the repository directory, you can inspect it.
The repository contains a few branches:
- % git branch -a * blead
+ % git branch -a
+ * blead
origin/HEAD
origin/blead
...
@@ -80,9 +81,15 @@ The repository contains a few branches:
You can see recent commits:
% git log
- ...
And pull new changes from the repository:
% git pull
- ...
+
+To switch to another branch:
+
+ % git checkout origin/maint-5.8-dor
+
+To switch back to blead:
+
+ % git checkout blead