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

Newbie / git / gitosis question

From
Howard Miller <howard@e-learndesign.co.uk>
Date
Aug 26, 2009, 09:27 UTC
Message-ID
<26ae428a0908260227k7ac6aeden9a4eae7ee95d4d45@mail.gmail.com>

I've been working away at Gitosis and it's mostly fair enough but there's one bit that's unclear to me...

git push origin master:refs/heads/master

Would somebody kindly explain (or point to docs) what refs/heads/master means? How is this different from just 'git push origin master' or even 'git push origin master:master'?

Any insights much appreciated.
Next: Michael Wookey
Message 1 of 5 in “Newbie / git / gitosis question”
  1. Howard MillerAug 26, 2009
  2. Michael WookeyAug 26, 2009
  3. Howard MillerAug 26, 2009
  4. Graham PerksAug 26, 2009
  5. Jeff KingAug 26, 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.