Mercurial - 大文件和 bitbucket

标签 mercurial bitbucket

我刚刚获得了最新的 mercurial 并开始添加大文件。

但是,现在我无法推送更改:

abort: ssh://hg@bitbucket.org/mysite/bitbucket.org does not appear to be a largefile store

我现在如何推送到 bitbucket?我有多个提交,包括大文件和常规代码提交。我没问题 forget我添加了所有大文件,但是如何在不恢复所有真实提交的情况下做到这一点?

最佳答案

如对 this question 的回答中所述,您可以使用 convert extension创建一个新的存储库。使用 --filemap排除您不想要的大文件。如果您已经将(其他文件)推送到 bitbucket,这可能是一个问题。幸运的是,对于讨论 editing history 的同一问题还有另一个答案。并且有一个从历史记录中删除文件的方法。由于我假设您没有将大文件推送到任何地方,因此您应该没问题。

关于Mercurial - 大文件和 bitbucket,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8993669/

相关文章:

version-control - 您将如何使用像 Mercurial 或 Bazaar 这样的分布式版本控制系统来管理大型二进制文件?

python - 使用 Mercurial 跟踪 5 个文件中的微小差异?

git - "fatal: HttpRequestException encountered."GitHub/Bitbucket 存储库因放弃 TLS-1.0 支持而出错

git - 自托管存储库的优点(和缺点)是什么(换句话说 : GitLab vs Bitbucket)?

Mercurial 分支困惑

mercurial - 有 hgignore.io 吗?

mercurial - 默认情况下排除 hg 命令中的目录

amazon-web-services - 成功部署后从 S3 删除 AWS codeDeploy 修订版本

git 相当于 'hg share' ?

eclipse - 右键单击时没有 "Convert to Maven"选项