diff options
author | Leon Brocard <acme@astray.com> | 2008-12-19 16:19:59 +0000 |
---|---|---|
committer | Leon Brocard <acme@astray.com> | 2008-12-19 16:19:59 +0000 |
commit | 0908149504b99e64ba9a603f4d02aa9bcf3ced7a (patch) | |
tree | f13c9aeb2c50f617a946f47e6d48bad54122c14d /pod/perlrepository.pod | |
parent | 9b9ea58460db69b1f900e0ad364912c71e46bfd2 (diff) | |
download | perl-0908149504b99e64ba9a603f4d02aa9bcf3ced7a.tar.gz |
Show how to switch between branches
Diffstat (limited to 'pod/perlrepository.pod')
-rw-r--r-- | pod/perlrepository.pod | 13 |
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 |