小编enb*_*oig的帖子

用git设置一个ftp存储库

我想将我的存储库从bazaar更改为git.我安装了Git(winXP)和龟没问题,我设置路径变量等...

我用以下内容初始化了我的存储库:

$ git init
Run Code Online (Sandbox Code Playgroud)

使用复制它

$ cd ..
$ git clone --bare project.git
Run Code Online (Sandbox Code Playgroud)

将其上传到FTP,并在尝试访问时:

$ git clone  *ftp_address*
Initialized empty Git repository in D:/project/.git/
Password:
error: Access denied: 530 while accessing *ftp_address*/info/refs
fatal: HTTP request failed
Run Code Online (Sandbox Code Playgroud)

我检查了.../project.git/info/refs不存在.我错过了什么?

PD:ftp_address =' ftp://user%40example.org@ftp.example.org/git/project.git '

git ftp

5
推荐指数
1
解决办法
6897
查看次数

标签 统计

ftp ×1

git ×1