5

当我尝试将我的文件推送到 bitbucket 存储库(其中一些由 git LFS 跟踪,模式为*.uasset)时,我收到此错误(我已使用 更改了实际凭据---):

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream origin master:master
Pushing to https://---@bitbucket.org/---/---.git

Git LFS: (0 of 241 files) 0 B / 372.25 MB                                      

Post https://bitbucket.org/account/signin/?next=/account/signin/%3Fnext%3D/account/signin/%253Fnext%253D/---/---.git/info/lfs/objects/batch: stopped after 3 redirects
Post https://bitbucket.org/account/signin/?next=/account/signin/%3Fnext%3D/account/signin/%253Fnext%253D/---/---.git/info/lfs/objects/batch: stopped after 3 redirects
Post https://bitbucket.org/account/signin/?next=/account/signin/%3Fnext%3D/account/signin/%253Fnext%253D/---/---.git/info/lfs/objects/batch: stopped after 3 redirects

error: failed to push some refs to 'https://---@bitbucket.org/---/---.git'

Completed with errors, see above.

我不知道怎么了。你能建议我如何解决这个错误吗?

4

2 回答 2

1

感谢您的评论。看来Bitbucket真的不提供LFS即服务,所以打算试试GitLab。

于 2016-04-07T10:09:31.800 回答
1

实际上,BitBucket 确实在几个月后(2016 年 7 月)提供了对 LFS 的支持。

问题 11204

今天我们在 Bitbucket Cloud 中发布了 Git LFS Beta 版。
虽然 LFS 支持处于 Beta 版,但最多 5 名用户的团队将获得 1 GB 的 LFS 存储空间,付费团队的存储空间取决于您的用户层级。

要开始使用 Git LFS Beta,您可以一键启用它,单击您想试用的存储库。只需前往 Bitbucket Cloud 存储库设置中左侧栏中的“Git LFS Beta”部分。

有关 Git LFS 的更多信息,请参阅此博客

该新选项在 SourceTree 中也可见:

https://blog.bitbucket.org/files/2016/07/Group-2-Copy-1024x741.png

于 2016-07-19T06:11:29.647 回答