@matheusbsbs / matheus-bagliano / commits / 25fb629058
Fork 0

git-push: document removal of remote ref with :<dst> pathspec

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Dec 13, 2006 at 00:59 UTC 25fb62905890d7860f742b4f2215fdf754ae7fee
1 file changed +9 -6
Documentation/git-push.txt
+9 -6
@@ -49,12 +49,14 @@ corresponding remotes file---see below), then all the
49 refs that exist both on the local side and on the remote
50 side are updated.
51 +
52 -Some short-cut notations are also supported.
52 +`tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
53 +
54 -* `tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
55 -* A parameter <ref> without a colon is equivalent to
56 - <ref>`:`<ref>, hence updates <ref> in the destination from <ref>
57 - in the source.
54 +A parameter <ref> without a colon is equivalent to
55 +<ref>`:`<ref>, hence updates <ref> in the destination from <ref>
56 +in the source.
57 ++
58 +Pushing an empty <src> allows you to delete the <dst> ref from
59 +the remote repository.
60
61 \--all::
62 Instead of naming each ref to push, specifies that all
@@ -75,7 +77,8 @@ include::urls.txt[]
77
78 Author
79 ------
78 -Written by Junio C Hamano <junkio@cox.net>
80 +Written by Junio C Hamano <junkio@cox.net>, later rewritten in C
81 +by Linus Torvalds <torvalds@osdl.org>
82
83 Documentation
84 --------------