git ls-remote windows issue.
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"
Quoted 5 lines · Kirill Frolov
When i run "git ls-remote
originHEAD" 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
"b7efcb7055a6d45f53c05270a2420aaedaba4d02HEAD"
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
Quoted 3 lines · Kirill Frolov
When i run "git ls-remote
originHEAD" 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.
Quoted 4 lines
When i run the same command on same repository on linux machine i get "b7efcb7055a6d45f53c05270a2420aaedaba4d02 HEAD"
--
Philip