# Git Repository Migration

2 messages from 2017-12-06 to 2017-12-06. Participants: Saurabh Dixit, Ævar Arnfjörð Bjarmason.
Thread: https://gitlist.dev/t/47385

## Saurabh Dixit, 2017-12-06 14:02

Subject: Git Repository Migration
Message-ID: <CADbksagO806a=nJpQ-uUe83Ne=NdM6TvKBRu=a7OO_MzTRi68Q@mail.gmail.com>
URL: https://gitlist.dev/e/CADbksagO806a%3DnJpQ-uUe83Ne%3DNdM6TvKBRu%3Da7OO_MzTRi68Q%40mail.gmail.com

```
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, 2017-12-06 14:35

Subject: Re: Git Repository Migration
Message-ID: <CACBZZX5G0Z9Tr3W63en_8SsoDOzTvBrKRktcOuMswwZVrmfatw@mail.gmail.com>
URL: https://gitlist.dev/e/CACBZZX5G0Z9Tr3W63en_8SsoDOzTvBrKRktcOuMswwZVrmfatw%40mail.gmail.com
In-Reply-To: <CADbksagO806a=nJpQ-uUe83Ne=NdM6TvKBRu=a7OO_MzTRi68Q@mail.gmail.com>

```
On Wed, Dec 6, 2017 at 3:02 PM, Saurabh Dixit <isaurabhdixit@gmail.com> wrote:
> 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.

```
