threads / discuss / 47385

Git Repository Migration

Subject: Git Repository Migration

## tl;dr

2 messages between Dec 6, 2017 and Dec 6, 2017.

replies: 1people: 2as markdown or json

Saurabh Dixit· Dec 6, 2017, 14:02 UTC · lore
Hi,

I am new here. I just wondered if the Merge Requests (aka., Pull Requests on GitHub) are also imported or cloned while cloning/importing a Git repository, say from GitHub to BitBucket. While I consider that, it may not be possible because of the URL to a remote is already set and cannot be altered while the Import/Clone ( I could be wrong at the assumption); I am curious to know what actually goes behind the scene.

Best regards,

Saurabh Dixit Opensource Enthusiast

Ævar Arnfjörð Bjarmason· Dec 6, 2017, 14:35 UTC · re: Saurabh Dixit · lore

Re: Git Repository Migration

On Wed, Dec 6, 2017 at 3:02 PM, Saurabh Dixit <isaurabhdixit@gmail.com> wrote:
Show 9 quoted lines
> Hi,
>
> I am new here. I just wondered if the Merge Requests (aka., Pull
> Requests on GitHub) are also imported or cloned while
> cloning/importing a Git repository, say from GitHub to BitBucket.
> While I consider that, it may not be possible because of the URL to a
> remote is already set and cannot be altered while the Import/Clone ( I
> could be wrong at the assumption); I am curious to know what actually
> goes behind the scene.

For Github in particular you can check out the pull refs and push them to your new hosting provider: https://help.github.com/articles/checking-out-pull-requests-locally/

But that's just the refs, you won't get any of the discussion around the pull requests or other "issues" etc.

← back to recent threads