Search code examples
gitgithubtransfermirror

Git mirror with issues and pull request history


I just mirrored a github repo.

Like this:

git clone --bare git@github.oldproject/oldproject.git

cd oldproject.git

git push --mirror git@github.com:newproject/newproject.git

This works great but closed issues and pull requests are not transfered?

Is this possible?


Solution

  • Pull requests and issues are not part of git. They are features of the GitHub or other tools.

    If you wish to checkout pull request locally follow those instructions:
    https://help.github.com/articles/checking-out-pull-requests-locally/