orenoblog

エンジニアになりたいExcel方眼紙erの物語

s3fs上でgit cloneできない

s3fsにgit cloneしてコンテンツ公開しようと試した時のこと。

$ s3fs <bucket-name> ~/s3/
$ df -m
Filesystem    1M-blocks  Used Available Capacity  Mounted on
/dev/disk0s2     114892 69323     45318    61%    /
devfs                 0     0         0   100%    /dev
map -hosts            0     0         0   100%    /net
map auto_home         0     0         0   100%    /home
s3fs@fuse0        65536     0     65536     0%    ~/s3     ←OK

$ cd ~/s3
$ git clone https://github.com/<username>/<repository>
Cloning into document...
fatal: 'origin' does not appear to be a git repository
fatal: The remote end hung up unexpectedly

fuse経由しているけど、S3へのPUT命令だと思ったので使えると思ったんだけどなあ。
ダメらしい。
しかたがないのでローカルディレクトリにcloneしてcpした。
IT難しい。