我想将我的存储库从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 '
尝试更换
将用户名中的 @ 符号(或“%40”)替换为“+”
*ftp_address* = 'ftp://"user+example.org"@ftp.example.org/git/project.git'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6897 次 |
| 最近记录: |