This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't tell the reader to `git checkout origin/*'
authorÆvar Arnfjörð Bjarmason <avar@cpan.org>
Tue, 20 Apr 2010 18:04:30 +0000 (18:04 +0000)
committerÆvar Arnfjörð Bjarmason <avar@cpan.org>
Tue, 20 Apr 2010 18:29:46 +0000 (18:29 +0000)
commit6053d6bc11958e181df09a1ea3fe94201e2c2896
treeecb11376f146ca3664193cbb3811303dd8e53f64
parent45b194c55901890d782546bf70eee5b9b5451083
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.
pod/perlrepository.pod