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

Re: Problems setting up bare repository (git 1.5.3.3)

From
JFJ. Bruce Fields <bfields@fieldses.org>
Date
Oct 1, 2007, 23:17 UTC
Message-ID
<20071001231714.GB5556@fieldses.org>
In-Reply-To
<87bqbisae6.wl%cworth@cworth.org>
On Mon, Oct 01, 2007 at 04:06:09PM -0700, Carl Worth wrote:
Show 7 quoted lines
> Another example is "refs/heads". I avoided this partially by inly
> documenting how to push all branches with "--all", but I'd much rather
> be able to say that the user could git push URL branch
> another-branch..." or "git push URL --all" for convenience. Finally,
> git-push itself spews quite a bit of output with "refs/heads" in it
> that I don't think is useful at all. For talking with the user, git
> should say "branch master" not "refs/heads/master".

I'd be nervous about skipping discussion of the refs/ namespace. Sure, introduce branch heads and tags on their own first, but you've got to mention the rest pretty early on. Eventually anyone can find themselves with a tags, heads, and remotes with the same names, and then it's easy to get stuck if you don't have a way to disambiguate.

And, really, it doesn't take that much space to explain this stuff.
--b.
Previous: Carl WorthNext: Junio C Hamano
Message 4 of 18 in “Problems setting up bare repository (git 1.5.3.3)”
  1. Barry FishmanOct 1, 2007
  2. Junio C HamanoOct 1, 2007
  3. Carl WorthOct 1, 2007
  4. J. Bruce FieldsOct 1, 2007
  5. Junio C HamanoOct 1, 2007
  6. Carl WorthOct 1, 2007
  7. Shawn O. PearceOct 1, 2007
  8. Johannes SchindelinOct 2, 2007
  9. Barry FishmanOct 2, 2007
  10. Johannes SchindelinOct 2, 2007
  11. Barry FishmanOct 2, 2007
  12. Carl WorthOct 2, 2007
  13. Johannes SchindelinOct 2, 2007
  14. Junio C HamanoOct 2, 2007
  15. SeanOct 2, 2007
  16. Junio C HamanoOct 2, 2007
  17. Johannes SchindelinOct 2, 2007
  18. Johannes SchindelinOct 2, 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.