{"thread":{"id":"58861","subject":"git ls-remote windows issue.","startedAt":"2022-11-27T18:26:11Z","lastAt":"2022-11-27T18:48:47Z","messageCount":3,"participants":["Kirill Frolov","rsbecker@nexbridge.com","Philip Oakley"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"468048","messageId":"16587f28-bd73-39ba-04da-bd0e2240f48c@gmail.com","threadId":"58861","inReplyTo":null,"subject":"git ls-remote windows issue.","fromName":"Kirill Frolov","fromEmail":"frolovkirill7@gmail.com","sentAt":"2022-11-27T18:25:42Z","receivedAt":"2022-11-27T18:26:11Z","isPatch":false,"sender":{"key":"frolovkirill7@gmail.com","avatar":null},"body":"When i run  \"git ls-remote `origin` HEAD\" on windows machine i get \n\"fatal: ''origin'' does not appear to be a git repository\"\n\nWhen i run the same command on same repository on linux machine i get \n\"b7efcb7055a6d45f53c05270a2420aaedaba4d02        HEAD\"\n\n\n"},{"id":"468049","messageId":"01c001d9028f$69c86560$3d593020$@nexbridge.com","threadId":"58861","inReplyTo":"16587f28-bd73-39ba-04da-bd0e2240f48c@gmail.com","subject":"RE: git ls-remote windows issue.","fromName":"","fromEmail":"rsbecker@nexbridge.com","sentAt":"2022-11-27T18:38:10Z","receivedAt":"2022-11-27T18:38:21Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"On November 27, 2022 1:26 PM, Kirill Frolov wrote:\n>When i run  \"git ls-remote `origin` HEAD\" on windows machine i get\n>\"fatal: ''origin'' does not appear to be a git repository\"\n>\n>When i run the same command on same repository on linux machine i get\n>\"b7efcb7055a6d45f53c05270a2420aaedaba4d02        HEAD\"\n\nTry 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.\n\n-Randall\n\n"},{"id":"468050","messageId":"161a40eb-2439-bb38-6082-4379aa9be848@iee.email","threadId":"58861","inReplyTo":"16587f28-bd73-39ba-04da-bd0e2240f48c@gmail.com","subject":"Re: git ls-remote windows issue.","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.email","sentAt":"2022-11-27T18:48:42Z","receivedAt":"2022-11-27T18:48:47Z","isPatch":false,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"On 27/11/2022 18:25, Kirill Frolov wrote:\n> When i run  \"git ls-remote `origin` HEAD\" on windows machine i get\n> \"fatal: ''origin'' does not appear to be a git repository\"\n>\n\nAre those the right quote marks? Were the commands directly copy/pasted?\nNote how the report (as received) has back quotes for the command, and\nthen double quoting of ''origin'' on the error resport.\n\n> When i run the same command on same repository on linux machine i get\n> \"b7efcb7055a6d45f53c05270a2420aaedaba4d02        HEAD\"\n>\n>\n--\nPhilip\n"}]}