-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git clone always give error message,fatal: ''mongodb'' does not appear to be a git repository, with a wired double quotes #400
Comments
Similar to #389 |
I am having a similar issue as the op. I have a bare git repo in a test directory in my users (named git) homes folder. I have ssh running using OpenSSH-Win64. When I run git clone on another windows pc I get a similar message
(Separate issue here when using ssh url format instead of scp format that you can't use a relative path as it will put / in front of your path) "fatal: ''test'' does not appear to be a git repository" I upped the ssh logging and can see this is output:
Decoding the If I run that command locally I get the same error. However if I remove the single quote or replace them with double the command works. I don't think it is possible to get windows command prompt to recognise single quotes as a quote character. Suggestions:Optionally use sh/powershell instead of cmd.exe. Maybe just default to powershell it's ok with single quotes.
Replace single quotes with doubles prior to line 987 |
Please try with the recent release (0.0.9.0).. I think this should be fixed.. |
I've checked and I am on that 0.0.9.0 version. BTW is there an easy way of finding what version you are on. It's not on the downloaded artefact or in the ssh_config and there doesn't seems to be a readme in the output. A |
is it working on 0.0.9.0 version? Thanks for the suggestion, we will add a way to find the version. |
The issue I had above was with the 0.0.9.0 version. A |
We are having the same issue with the most up to date version... |
Use this to retrieve product version: |
I am using 0.0.10.0 according to the command I just ran. Are there any current workarounds? |
It appears I am also getting the double single quotes '' instead of " |
This by far is the easier way to get around the double quote issue: |
$ git clone ssh://[email protected]:mongodb
Cloning into 'mongodb'...
[email protected]'s password:
fatal: ''mongodb'' does not appear to be a git repository ---------------this is the wrong output of git-upload pack, git clone will call the git-upload-pack in remote server
fatal: Could not read from remote repository.
BUT I TRIED THIS ,IT WORKS
$ ssh [email protected] "git-upload-pack mongodb"
[email protected]'s password:
0000----------------this is a right ouput is git-upload-pack
I found instead of single quotes of ''mongodb''in err msg ---fatal: ''mongodb'' does not appear to be a git repository---, gives a wired double quotes, and I tried in local the 'git-upload-pack' command, it only give single quote in its err msg.
I think something wrong when transferring the repo path to ssh remote server, shoud be caused by the openssh
The text was updated successfully, but these errors were encountered: