Accidentally committed a large amount of raw data in Mercurial, how do I keep it from overloading my bitbucket repository?

前端 未结 3 1737
南笙
南笙 2021-01-12 09:54

I copied a large amount of data from my labs file server to my laptop, then accidentally committed it to the Mercurial repository I\'m using to back up my thesis.

N

3条回答
  •  终归单人心
    2021-01-12 10:44

    In case the changes are already pushed to BitBucket, it does offer an option to strip changesets from the server. After performing the strip locally, you should access the url:

    https://bitbucket.org///admin/strip
    

    It'll offer an option to strip all changes following a specific commit.

    NOTE: There used to be a link to reach that URL in the repo config menu. Now the only way to access it seems to be typing it directly.

提交回复
热议问题