{"thread":{"id":"47385","subject":"Git Repository Migration","startedAt":"2017-12-06T14:02:50Z","lastAt":"2017-12-06T14:36:44Z","messageCount":2,"participants":["Saurabh Dixit","Ævar Arnfjörð Bjarmason"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"334244","messageId":"CADbksagO806a=nJpQ-uUe83Ne=NdM6TvKBRu=a7OO_MzTRi68Q@mail.gmail.com","threadId":"47385","inReplyTo":null,"subject":"Git Repository Migration","fromName":"Saurabh Dixit","fromEmail":"isaurabhdixit@gmail.com","sentAt":"2017-12-06T14:02:43Z","receivedAt":"2017-12-06T14:02:50Z","isPatch":false,"sender":{"key":"isaurabhdixit@gmail.com","avatar":null},"body":"Hi,\n\nI am new here. I just wondered if the Merge Requests (aka., Pull\nRequests on GitHub) are also imported or cloned while\ncloning/importing a Git repository, say from GitHub to BitBucket.\nWhile I consider that, it may not be possible because of the URL to a\nremote is already set and cannot be altered while the Import/Clone ( I\ncould be wrong at the assumption); I am curious to know what actually\ngoes behind the scene.\n\nBest regards,\n\nSaurabh Dixit\nOpensource Enthusiast\n"},{"id":"334245","messageId":"CACBZZX5G0Z9Tr3W63en_8SsoDOzTvBrKRktcOuMswwZVrmfatw@mail.gmail.com","threadId":"47385","inReplyTo":"CADbksagO806a=nJpQ-uUe83Ne=NdM6TvKBRu=a7OO_MzTRi68Q@mail.gmail.com","subject":"Re: Git Repository Migration","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2017-12-06T14:35:58Z","receivedAt":"2017-12-06T14:36:44Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"On Wed, Dec 6, 2017 at 3:02 PM, Saurabh Dixit <isaurabhdixit@gmail.com> wrote:\n> Hi,\n>\n> I am new here. I just wondered if the Merge Requests (aka., Pull\n> Requests on GitHub) are also imported or cloned while\n> cloning/importing a Git repository, say from GitHub to BitBucket.\n> While I consider that, it may not be possible because of the URL to a\n> remote is already set and cannot be altered while the Import/Clone ( I\n> could be wrong at the assumption); I am curious to know what actually\n> goes behind the scene.\n\nFor Github in particular you can check out the pull refs and push them\nto your new hosting provider:\nhttps://help.github.com/articles/checking-out-pull-requests-locally/\n\nBut that's just the refs, you won't get any of the discussion around\nthe pull requests or other \"issues\" etc.\n"}]}