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

Host refs to push are chosen (documentation error)?

From
ABAndrey Borzenkov <arvidjaar@mail.ru>
Date
Feb 17, 2010, 13:27 UTC
Message-ID
<201002171627.57599.arvidjaar@mail.ru>
I have a feeling that documentation is not up to date.

{pts/1}% git --version git version 1.6.6.2

Reading man git-push:
       --all
           Instead of naming each ref to push, specifies that all refs 
under
           $GIT_DIR/refs/heads/ be pushed.
OK, so
{pts/1}% git push -n --all
To ssh://git.mandriva.com/projects/networkmanager.git
 * [new branch]      local-mdv -> local-mdv
 * [new branch]      local-mdv.stgit -> local-mdv.stgit
 * [new branch]      tmp -> tmp
 * [new branch]      tmp.stgit -> tmp.stgit
so far so good, but

{pts/1}% l .git/refs/heads local-mdv local-mdv.stgit

Apparently $GIT/refs/heads is not the only place?
Next: Tay Ray Chuan
Message 1 of 12 in “Host refs to push are chosen (documentation error)?”
  1. Andrey BorzenkovFeb 17, 2010
  2. Tay Ray ChuanFeb 17, 2010
  3. Avery PennarunFeb 17, 2010
  4. Jeff KingFeb 18, 2010
  5. Avery PennarunFeb 18, 2010
  6. Junio C HamanoFeb 18, 2010
  7. Jeff KingFeb 18, 2010
  8. Junio C HamanoFeb 18, 2010
  9. Jeff KingFeb 18, 2010
  10. Junio C HamanoFeb 18, 2010
  11. Jeff KingFeb 18, 2010
  12. Andrey BorzenkovFeb 18, 2010

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.