summaryrefslogtreecommitdiff
path: root/pod/perlgit.pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-09-18 20:16:20 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-09-18 20:17:12 -0700
commit68382b6727fe4a09697a35a454bba30279648d54 (patch)
tree1f7eaff0941cace2e29e9f8d0c7fbeed54bc3a87 /pod/perlgit.pod
parentadb86be5ee633b2258ce1113f26fcdeb89cb1889 (diff)
downloadperl-68382b6727fe4a09697a35a454bba30279648d54.tar.gz
perlgit: bare ‘git push’ is dangerous
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.
Diffstat (limited to 'pod/perlgit.pod')
-rw-r--r--pod/perlgit.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlgit.pod b/pod/perlgit.pod
index 9b5fe3f716..3bbd4b3753 100644
--- 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