TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to Migrate a Git Repository from GitHub to Bitbucket

26 pointsby omgbobbygalmost 4 years ago

12 comments

gravypodalmost 4 years ago
I&#x27;d like to send out my sympathy for any team members at companies moving <i>to</i> BitBucket. Good luck.<p>In my experience the offerings of GitLab are far better
评论 #27747860 未加载
评论 #27747845 未加载
评论 #27748107 未加载
评论 #27756342 未加载
smcleodalmost 4 years ago
Bitbucket is horribly antiquated (along with all Atlasssian software IMO), why not go to GitLab - it&#x27;s code management, merges request workflows and discussions are excellent for peer review and the CI&#x2F;CD is fantastic.
评论 #27748773 未加载
评论 #27748719 未加载
评论 #27749321 未加载
评论 #27749394 未加载
callmealalmost 4 years ago
I don&#x27;t know if somethings going on, but the last couple of weeks, Bitbucket has been incredibly slow, with pull request merges taking minutes for a tiny (&lt; 14Mb) repo. Their<p><pre><code> This pull request is being merged in the background. This typically only takes a few seconds but may take longer. You can safely navigate away. </code></pre> banner is now completely familiar to our dev team. I&#x27;ve seen the merge sometimes randomly fail (refreshing that screen causes the &quot;Merge&quot; button to reappear and the pull request state showing as &quot;Open&quot;.
评论 #27748382 未加载
评论 #27748454 未加载
评论 #27750067 未加载
orfalmost 4 years ago
Why would you <i>ever</i> willingly choose bitbucket over Gitlab?<p>Does Bitbucket offer syntax highlighting when reviewing code changes yet? When we used it (before migrating to Gitlab) you had to install a third party browser extension.<p>What a joke.<p>Edit: nope, not yet: <a href="https:&#x2F;&#x2F;jira.atlassian.com&#x2F;browse&#x2F;BCLOUD-8673" rel="nofollow">https:&#x2F;&#x2F;jira.atlassian.com&#x2F;browse&#x2F;BCLOUD-8673</a>. Opened in 2014.
评论 #27748879 未加载
评论 #27750101 未加载
评论 #27748827 未加载
dmkirwanalmost 4 years ago
Ethical concerns aside*, I far preferred Github to BitBucket. Bitbucket has been incredibly unstable for the last few years that I&#x27;ve been using it at work. I regularly see the &quot;We&#x27;re experiencing issues...&quot; banner when I review pull requests. We don&#x27;t use bitbucket pipelines, but they seem to be the most unstable part of the product. I haven&#x27;t used Gitlab in years so I can&#x27;t give any up-to-date commentary on that as a solution. I&#x27;ve never had issues with Githbub and I quite like their UI so that will be my preference for the foreseeable future.<p>*I appreciate this is a big caveat
评论 #27748167 未加载
评论 #27748394 未加载
igetspamalmost 4 years ago
Step 1: Don&#x27;t<p>The only thing bitbucket has going for it is that it&#x27;s the same biller as all the other mediocre software you&#x27;re using most days. It&#x27;s pretty awful.
评论 #27748239 未加载
forgotpwd16almost 4 years ago
There isn&#x27;t anything GitHub or&#x2F;and Bitbucket specific to this. That&#x27;s just the procedure to copy (clone&#x2F;push) a repo from one Git server to another. What about issues, PRs, actions, wiki, ...? GitHub isn&#x27;t only used to host the code alone.
评论 #27748095 未加载
Lazarealmost 4 years ago
Migrating from github: Sure, lots of reasons why you might want to do that. Just being sure you <i>can</i> has value.<p>Migrating to Bitbucket: Uh....<p>I don&#x27;t really see any way in which Bitbucket is better than Github. Or, frankly, any other alternative. It exists due to inertia and&#x2F;or to serve people irrevocably emeshed in the Atlassian ecosystem. I can understand why you might not have switched away yet, but switching <i>to</i> it?
temacalmost 4 years ago
It usually better to migrate git repositories with git clone --mirror than attempting to not forget refs with ad-hoc commands. For simple repositories their methods will probably work anyway, but it is still harder to do.
jimmyswimmyalmost 4 years ago
My company has moved from gitlab to bit bucket. It feels like a huge step backwards. It&#x27;s good to hear that I&#x27;m not alone in such impressions. I was afraid it was just me disliking change.
javahippiealmost 4 years ago
Friendly reminder that BitBucket does not have a SLA: <a href="https:&#x2F;&#x2F;confluence.atlassian.com&#x2F;bbkb&#x2F;what-is-atlassian-s-bitbucket-cloud-sla-uptime-support-etc-447644045.html" rel="nofollow">https:&#x2F;&#x2F;confluence.atlassian.com&#x2F;bbkb&#x2F;what-is-atlassian-s-bi...</a><p>... and it is down a lot.
billyjobobalmost 4 years ago
The killer feature of Bitbucket over GitHub was that they hosted Mercurial repositories. Since they stopped doing that and deleted all my Mercurial repos I haven’t seen any reason to use them.