On Windows 10, I'm trying to add a remote located on my Linux laptop. I can see the repo in Windows Explorer at \\SONIC\monkey\sites\kpuc.local\.git , but when I try adding the remote (using \\\\SONIC\\monkey\\sites\\kpuc.local\\.git as a path) and fetching, I get the following output:
git -c diff.mnemonicprefix=false -c core.quotepath=false fetch local_on_Sonic
fatal: '\\\\SONIC\\monkey\\sites\\kpuc.local\\.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Completed with errors, see above.
$ ssh -i /c/Users/MYUSER/.ssh/dell-no-passphrase-openssh-2048-bits monkey@sonic
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-97-generic x86_64)
# etc.
monkey@Sonic:~$
# Repo path removed from $ prompt
$ eval `ssh-agent -s`
Agent pid 9364
$ ssh-add -l
The agent has no identities.
$ ssh-add /c/Users/MYUSER/.ssh/dell-no-passphrase-openssh-2048-bits
Identity added: /c/Users/MYUSER/.ssh/dell-no-passphrase-openssh-2048-bits (/c/Users/MYUSER/.ssh/dell-no-passphrase-openssh-2048-bits)
$ git -c diff.mnemonicprefix=false -c core.quotepath=false fetch local_on_Sonic
fatal: '\\\\SONIC\\monkey\\sites\\kpuc.local\\.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
$ git remote -v
# (excerpt)
local_on_Sonic \\\\SONIC\\monkey\\sites\\kpuc.local\\.git (fetch)
local_on_Sonic \\\\SONIC\\monkey\\sites\\kpuc.local\\.git (push)
I'm not sure what to do at this point. Thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.