我正在尝试将遥控器添加到我的存储库abc中。这是我使用帐户用户访问的远程Windows服务器。我在输入用户时输入的默认目录是<pre>Array
(
[mode] => save_product
[id] => 1
[title] => Banana Shake
[categoryid] => 1
[serving] => 34.50
[orderby] => 10
[intro] => Intro
[instructions] => Empty contents of packet into a shaker or blender, add 200-240ml of cold water and shake/mix until fully dissolved.
Consume within 10 minutes for full nutritional benefit.
...</pre>
,但远程存储库位于C:/Users/user
。
我试着像这样添加遥控器:
C:/Git/Repository.git
git remote add new-origin user@server.sample.net/c/Git/Repository.git
git remote add new-origin user@server.sample.net/C:/Git/Repository.git
但这些都不起作用,它们都会产生同样的错误:
git remote add new-origin user@server.sample.net:22/C:/Git/Repository.git
远程服务器正在运行Windows 10 Professional和OpenSSH for Windows。
提前致谢!