git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 4/4] Documentation: avoid using undefined parameters

From
AMAnders Melchiorsen <mail@cup.kalibalik.dk>
Date
Jan 18, 2009, 14:36 UTC
Message-ID
<1232289418-25627-5-git-send-email-mail@cup.kalibalik.dk>
In-Reply-To
<1232289418-25627-4-git-send-email-mail@cup.kalibalik.dk>

The <ref> parameter has not been introduced, so rewrite to avoid it.

Signed-off-by: Anders Melchiorsen <mail@cup.kalibalik.dk>
---
 Documentation/git-push.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index a7a6f4c..7b27dc6 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -50,8 +50,8 @@ even if it does not result in a fast forward update.
 +
 `tag <tag>` means the same as `refs/tags/<tag>:refs/tags/<tag>`.
 +
-A parameter <ref> without a colon pushes the <ref> from the source
-repository to the destination repository under the same name.
+A lonely <src> parameter (without a colon and a destination) pushes
+the <src> to the same name in the destination repository.
 +
 Pushing an empty <src> allows you to delete the <dst> ref from
 the remote repository.
-- 
1.6.0.2.514.g23abd3
Previous: Anders MelchiorsenNext: Junio C Hamano
Message 5 of 6 in “Clarifying the refspec documentation”
  1. 0/4 Clarifying the refspec documentationAnders Melchiorsen, Jan 18, 2009
  2. 1/4 Documentation: git push repository can also be a remoteAnders Melchiorsen, Jan 18, 2009
  3. 2/4 Documentation: remove a redundant elaborationAnders Melchiorsen, Jan 18, 2009
  4. 3/4 Documentation: mention branches rather than headsAnders Melchiorsen, Jan 18, 2009
  5. 4/4 Documentation: avoid using undefined parametersAnders Melchiorsen, Jan 18, 2009
  6. Junio C HamanoJan 19, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.