awslabs / git-remote-s3

Apache License 2.0
492 stars 9 forks source link

How to work with submudules #14

Closed pakimov2 closed 2 weeks ago

pakimov2 commented 2 weeks ago

Hi

Thank you for this project! I have been successed with clone/push/pull commands with s3 remote. But when i try to add submodule with s3 remote, I get error:

$ git submodule add s3://my-backet-name/my-repo my-repo
Cloning into '/Volumes/data/my-repo'...
fatal: transport 's3' not allowed

Is it possible to use submudule command with s3 remote?

Thank you!

pakimov2 commented 2 weeks ago

Resolved by: git config --global protocol.s3.allow always

Thank you!

massi-ang commented 2 weeks ago

@pakimov2 thanks for the tip. I will add to the README.