summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-09-06 06:37:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-09-06 06:37:02 (GMT)
commit7e2e69b7f67ba8b336be56508d0208117d9e22e3 (patch)
treef10cda2462596cb0939c5dd0d0373bff5a2aaee0 /Documentation
parentad00a3b8f8cabcf20aa6ac84ac88bea035fa7ce7 (diff)
parent4e560158c6de154fafab9fc3f6028d9edcc53e6b (diff)
downloadgit-7e2e69b7f67ba8b336be56508d0208117d9e22e3.zip
git-7e2e69b7f67ba8b336be56508d0208117d9e22e3.tar.gz
git-7e2e69b7f67ba8b336be56508d0208117d9e22e3.tar.bz2
Merge branch 'maint'
* maint: Include a git-push example for creating a remote branch Cleanup unnecessary file modifications in t1400-update-ref Makefile: Add cache-tree.h to the headers list Don't allow contrib/workdir/git-new-workdir to trash existing dirs git-apply: do not read past the end of buffer
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-push.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 0dd9caf..7b8e075 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -117,6 +117,12 @@ git push origin master:satellite/master::
the ref that matches `satellite/master` (most likely, it would
be `refs/remotes/satellite/master`) in `origin` repository with it.
+git push origin master:refs/heads/experimental::
+ Create the branch `experimental` in the `origin` repository
+ by copying the current `master` branch. This form is usually
+ needed to create a new branch in the remote repository as
+ there is no `experimental` branch to match.
+
Author
------
Written by Junio C Hamano <junkio@cox.net>, later rewritten in C