diff options
author | Ævar Arnfjörð Bjarmason <avar@cpan.org> | 2010-04-20 18:04:30 +0000 |
---|---|---|
committer | Ævar Arnfjörð Bjarmason <avar@cpan.org> | 2010-04-20 18:29:46 +0000 |
commit | 6053d6bc11958e181df09a1ea3fe94201e2c2896 (patch) | |
tree | ecb11376f146ca3664193cbb3811303dd8e53f64 /pod/perlrepository.pod | |
parent | 45b194c55901890d782546bf70eee5b9b5451083 (diff) | |
download | perl-6053d6bc11958e181df09a1ea3fe94201e2c2896.tar.gz |
Don't tell the reader to `git checkout origin/*'
This results in a branchless checkout (detached HEAD). Making changes
like this is a valid way to use Git, but IMO not something we should
be recommending.
Branches are cheap and it's harder to lose your commits if they're on
a named branch than on a detached HEAD.
Diffstat (limited to 'pod/perlrepository.pod')
-rw-r--r-- | pod/perlrepository.pod | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod index 887e84e06e..bd2c207910 100644 --- a/pod/perlrepository.pod +++ b/pod/perlrepository.pod @@ -176,10 +176,6 @@ Neither of these last two commands will update your working directory, however both will update the remote-tracking branches in your repository. -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 |