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

Re: git ls-remote windows issue.

From
Philip Oakley <philipoakley@iee.email>
Date
Nov 27, 2022, 18:48 UTC
Message-ID
<161a40eb-2439-bb38-6082-4379aa9be848@iee.email>
In-Reply-To
<16587f28-bd73-39ba-04da-bd0e2240f48c@gmail.com>
On 27/11/2022 18:25, Kirill Frolov wrote:
> When i run  "git ls-remote `origin` HEAD" on windows machine i get
> "fatal: ''origin'' does not appear to be a git repository"
>

Are those the right quote marks? Were the commands directly copy/pasted? Note how the report (as received) has back quotes for the command, and then double quoting of ''origin'' on the error resport.

> When i run the same command on same repository on linux machine i get
> "b7efcb7055a6d45f53c05270a2420aaedaba4d02        HEAD"
>
>

-- Philip

Previous: rsbecker@nexbridge.com
Message 3 of 3 in “git ls-remote windows issue.”
  1. Kirill FrolovNov 27, 2022
  2. rsbecker@nexbridge.comNov 27, 2022
  3. Philip OakleyNov 27, 2022

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.