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

RE: git ls-remote windows issue.

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Nov 27, 2022, 18:38 UTC
Message-ID
<01c001d9028f$69c86560$3d593020$@nexbridge.com>
In-Reply-To
<16587f28-bd73-39ba-04da-bd0e2240f48c@gmail.com>
On November 27, 2022 1:26 PM, Kirill Frolov wrote:
Show 5 quoted lines
>When i run  "git ls-remote `origin` HEAD" on windows machine i get
>"fatal: ''origin'' does not appear to be a git repository"
>
>When i run the same command on same repository on linux machine i get
>"b7efcb7055a6d45f53c05270a2420aaedaba4d02        HEAD"
Try removing the quote characters around origin under Windows. I can reproduce this on Linux using "'origin'", so it appears that the single quotes in your Windows command prompt are being passed in with origin instead of removed as in Linux.
-Randall
Previous: Kirill FrolovNext: Philip Oakley
Message 2 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.