【发布时间】:2016-04-05 21:11:40
【问题描述】:
我希望能够将 git 存储库同步到 AWS S3 以进行备份。此外,我希望公众能够git clone 我的备份。 My steps分别是:
s3cmd mb s3://lktesting
git update-server-info
s3cmd -P sync .git/ s3://lktesting
s3cmd ws-create s3://lktesting
s3cmd ws-info s3://lktesting
我认为这曾经有效,但现在我明白了:
git clone http://lktesting.s3-website-ap-southeast-1.amazonaws.com/
Cloning into 'lktesting.s3-website-ap-southeast-1.amazonaws.com'...
error: The requested URL returned error: 403 Forbidden (curl_result = 22, http_code = 403, sha1 = bf866b95d9517ea38e213740cead5cf1c313f5aa)
Checking connectivity... done.
有人知道我错过了什么吗?
【问题讨论】: