像这样:
git clone --bare [email protected]/oldproject.git
cd oldproject.git
git push --mirror [email protected]:newproject/newproject.git
这工作得很好但是关闭的问题和拉取请求没有转移?
这可能吗?
拉请求和问题不是git的一部分。它们是GitHub或其他工具的功能。
如果您希望在本地结账拉取请求,请按照以下说明操作: https://help.github.com/articles/checking-out-pull-requests-locally/