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

ambiguous argument '...': unknown revision or path not in the working tree

From
SJSven Joachim <svenjoac@gmx.de>
Date
Jan 17, 2010, 09:46 UTC
Message-ID
<87ska5vzbs.fsf@turtle.gmx.de>
I've got a strange error message in 'git push':
,----
| % git push
| Counting objects: 47, done.
| Delta compression using up to 2 threads.
| Compressing objects: 100% (24/24), done.
| Writing objects: 100% (24/24), 4.37 KiB, done.
| Total 24 (delta 22), reused 0 (delta 0)
| fatal: ambiguous argument '3bbc6def8a06e4411bee130b811ff9507e90503d:debian/changelog': unknown revision or path not in the working tree.
| Use '--' to separate paths from revisions
| To git+ssh://git.debian.org/git/collab-maint/ncurses.git
|    2fec7db..3bbc6de  HEAD -> upstream
`----

Indeed debian/changelog is not in the working tree, it is not in the current branch (upstream) at all, although it exists in the master branch. Default is to push the current branch:

,----
| % git config --get push.default 
| current
| % git --version
| git version 1.6.6
`----

Despite the error message, the push was apparently successful; the repository I push to can be found at http://git.debian.org/?p=collab-maint/ncurses.git.

Sven
Next: Junio C Hamano
Message 1 of 3 in “ambiguous argument '...': unknown revision or path not in the working tree”
  1. Sven JoachimJan 17, 2010
  2. Junio C HamanoJan 18, 2010
  3. Sven JoachimJan 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.