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

Re: pulling git -- version confusion

From
RMRustom Mody <rustompmody@gmail.com>
Date
Nov 9, 2009, 13:24 UTC
Message-ID
<f46c52560911090524l51140858sdde29d76e2cfed49@mail.gmail.com>
In-Reply-To
<fabb9a1e0911082351o326b205aic205552faae4e4da@mail.gmail.com>
On Mon, Nov 9, 2009 at 1:21 PM, Sverre Rabbelier <srabbelier@gmail.com> wrote:
Show 10 quoted lines
> On Mon, Nov 9, 2009 at 08:45, Rustom Mody <rustompmody@gmail.com> wrote:
>> Gives me
>> fatal: ambiguous argument 'origin/master': unknown revision or path
>> not in the working tree.
>> Use '--' to separate paths from revisions
>
> Well, as what remote do you have upstream configured?
>
> What is the output of
> $ git config -l
gives me

core.safecrlf=true user.email=<my email> user.name=<my name> core.repositoryformatversion=0 core.filemode=true gui.geometry=885x450+0+27 207 192

So theres no remote? But .git/remotes/origin has

URL: git://git.kernel.org/pub/scm/git/git.git
Pull: refs/heads/master:refs/heads/origin
Pull: refs/heads/maint:refs/heads/maint
Pull: refs/heads/next:refs/heads/next
Pull: refs/heads/html:refs/heads/html
Pull: refs/heads/pu:refs/heads/pu
Pull: refs/heads/todo:refs/heads/todo
Pull: refs/heads/man:refs/heads/man

Also [I just tried this] if I make a fresh repo directly and then do a git pull it gives a fatal: where do you want to fetch from

But with the git repo pull (seems to be) pulling all sorts of stuff and not erroring out.

Previous: Sverre RabbelierNext: Sverre Rabbelier
Message 5 of 7 in “pulling git -- version confusion”
  1. Rustom ModyNov 9, 2009
  2. Sverre RabbelierNov 9, 2009
  3. Rustom ModyNov 9, 2009
  4. Sverre RabbelierNov 9, 2009
  5. Rustom ModyNov 9, 2009
  6. Sverre RabbelierNov 9, 2009
  7. Junio C HamanoNov 9, 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.