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:
adb86be
)
perlgit: bare ‘git push’ is dangerous
author
Father Chrysostomos
<sprout@cpan.org>
Wed, 19 Sep 2012 03:16:20 +0000
(20:16 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Wed, 19 Sep 2012 03:17:12 +0000
(20:17 -0700)
About three times now I have made changes on a branch, to try things
out, and then later on tried to push to blead with ‘git push’ and
modified other people’s branches at the same time.
pod/perlgit.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlgit.pod
b/pod/perlgit.pod
index
9b5fe3f
..
3bbd4b3
100644
(file)
--- a/
pod/perlgit.pod
+++ b/
pod/perlgit.pod
@@
-656,7
+656,7
@@
then merge it into blead then push it out to the main repository:
% git checkout blead
% git merge experimental
- % git push
+ % git push
origin blead
If you want to delete your temporary branch, you may do so with:
@@
-824,7
+824,7
@@
Or you could just merge the whole branch if you like it all:
And then push back to the repository:
- % git push
+ % git push
origin blead
=head2 Using a smoke-me branch to test changes