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

`git-rev-parse master` not referred to by any ref?

From
JFJ. Bruce Fields <bfields@fieldses.org>
Date
Aug 26, 2007, 13:45 UTC
Message-ID
<20070826134521.GA20243@fieldses.org>
Any idea how I got into this situation?:
	git$ git rev-parse master
	warning: refname 'master' is ambiguous.
	407c0c87e15b3cf60347f4fc0bcdb4d239de4163
	~/local/git$ git for-each-ref | grep master
	32ebe844c689d6e13e9875a0feefedca8dc1c6eb commit refs/heads/master
	e413074f1293e907d94af99330f0dd632a78b01f commit refs/remotes/linux-nfs/master
	0058a33a8eb5a8bfcfc5f5e769a2517cff4b73f1 commit refs/remotes/origin/master
	git$ git for-each-ref | grep 407c0
	git$ 
--b.
Next: J. Bruce Fields
Message 1 of 6 in “`git-rev-parse master` not referred to by any ref?”
  1. J. Bruce FieldsAug 26, 2007
  2. J. Bruce FieldsAug 26, 2007
  3. J. Bruce FieldsAug 26, 2007
  4. Junio C HamanoAug 26, 2007
  5. Shawn O. PearceAug 26, 2007
  6. J. Bruce FieldsAug 26, 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.