我正在尝试将Git LFS设置为使用S3存储桶作为后端。我一直在尝试按照meltingice/git-lfs-s3的说明进行操作,但我无法确定将AWS凭据和网址放在何处。目前,我在我的根Git目录中有这些:
.lfsconfig
[lfs]
url = https://my-aws-folder.amazonaws.com
的.config
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https://github.com/my-user-name/test_repo.git
fetch = +refs/heads/*:refs/remotes/origin/*
.ENV
AWS_REGION=2
AWS_ACCESS_KEY_ID=ABC1234
AWS_SECRET_ACCESS_KEY=blahblahblah
S3_BUCKET=my-aws-folder
LFS_SERVER_URL=https://my-aws-folder.s3.amazonaws.com