Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在我的raspberry with Android Studio上使用本地Git服务器?_Android_Windows_Git_Android Studio_Server - Fatal编程技术网

如何在我的raspberry with Android Studio上使用本地Git服务器?

如何在我的raspberry with Android Studio上使用本地Git服务器?,android,windows,git,android-studio,server,Android,Windows,Git,Android Studio,Server,我想使用我的Git服务器,它位于我的Raspberry(Raspbian)上,以便在我的Android项目中存储和使用版本控制 但经过多次研究,我只找到了在Windows上使用Git的解决方案 当我尝试:VCS->从版本控制签出时 编辑:即使我用一个不存在的文件夹点击“测试”,Android Studio也会说“成功” 当我尝试:VCS->导入到版本控制时 编辑:仅本地 你能告诉我它是否只适用于Windows上的本地Git,还是存在一种将Git与我的Raspberry一起使用的方法 提前感谢您的

我想使用我的Git服务器,它位于我的Raspberry(Raspbian)上,以便在我的Android项目中存储和使用版本控制

但经过多次研究,我只找到了在Windows上使用Git的解决方案

当我尝试:VCS->从版本控制签出时 编辑:即使我用一个不存在的文件夹点击“测试”,Android Studio也会说“成功”

当我尝试:VCS->导入到版本控制时 编辑:仅本地

你能告诉我它是否只适用于Windows上的本地Git,还是存在一种将Git与我的Raspberry一起使用的方法

提前感谢您的回答。

作为,请确保您已在
%USERPROFILE%\.SSH
id\u rsa
/
id\u rsa.pub
)中生成openssh(而不是putty)公共/私有SSH密钥

当然,您的公钥位于~pi/.ssh/authorizeid\u密钥中

最后,确保
ssh-Tpi@my.rasp.pi.address
有效

然后可以使用ssh URL:

ssh://pi@my.rasp.pi.address/home/pi/folder

问题是什么?你的ssh URL不工作吗?即使我用不存在的文件夹或错误的路径点击“测试”,Android Studio也会说“成功”。。。SSH使用油灰