Want to Migrate repository from bitbucket to GitHub #54822
-
Select Topic AreaQuestion BodyI am using the following steps to relocate the repo.
I do the last command (
When I investigated that problem, I found that the former back-end developer had uploaded a database dump to the current repository. That database contains a lot of files that are bigger than 100 MB. But GitHub blocks files larger than 100 MB. So we need to remove those big files before pushing this repository to GitHub. I need help how to delete that big files in the bitbucket history Thank You |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
See here: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository The process for too large files is the same, you can ignore the parts about making sure they're gone from all caches too. The generally recommended (by the Git docs) approach for bulk editing history is Mind that editing history will change all commit IDs after the first edited commit. |
Beta Was this translation helpful? Give feedback.
-
Hey there! 👋 Thanks for posting in the GitHub Community, @santoshaurus! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category. The Accessibility category is a place for our community to discuss and provide feedback on the digital accessibility of GitHub products. Digital accessibility means that GitHub tools, and technologies, are designed and developed so that people with disabilities can use them. I've gone ahead and moved this to the correct category for you. Good luck! |
Beta Was this translation helpful? Give feedback.
See here: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository The process for too large files is the same, you can ignore the parts about making sure they're gone from all caches too.
The generally recommended (by the Git docs) approach for bulk editing history is
git-filter-repo
, the second tool described in that documentation.Mind that editing history will change all commit IDs after the first edited commit.⚠️