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

[PATCH] Mention that 'push .. master' is in explicit form master:refs/heads/master

From
Jari Aalto <jari.aalto@cante.net>
Date
Sep 18, 2007, 09:59 UTC
Message-ID
<wsuomgyu.fsf@blue.sea.net>
Signed-off-by: Jari Aalto <jari.aalto AT cante.net>
---
 Documentation/git-push.txt |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 7b8e075..71ac450 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -105,7 +105,9 @@ git push origin master::
 	Find a ref that matches `master` in the source repository
 	(most likely, it would find `refs/heads/master`), and update
 	the same ref (e.g. `refs/heads/master`) in `origin` repository
-	with it.
+	with it. The following would be exactly same command:
+
+	git push origin master:refs/heads/master
 
 git push origin :experimental::
 	Find a ref that matches `experimental` in the `origin` repository
-- 
1.5.3


-- 
Welcome to FOSS revolution: we fix and modify until it shines
Next: Johannes Schindelin
Message 1 of 4 in “Mention that 'push .. master' is in explicit form master:refs/heads/master”
  1. Mention that 'push .. master' is in explicit form master:refs/heads/masterJari Aalto, Sep 18, 2007
  2. Johannes SchindelinSep 18, 2007
  3. Junio C HamanoSep 18, 2007
  4. Jari AaltoSep 19, 2007

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.