This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b9ea58
)
Show how to switch between branches
author
Leon Brocard
<acme@astray.com>
Fri, 19 Dec 2008 16:19:59 +0000
(16:19 +0000)
committer
Leon Brocard
<acme@astray.com>
Fri, 19 Dec 2008 16:19:59 +0000
(16:19 +0000)
pod/perlrepository.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlrepository.pod
b/pod/perlrepository.pod
index
487ffa4
..
ed75449
100644
(file)
--- 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