git项目迁移

阅读 154

2022-02-23

克隆代码包括提交记录,复制一份到远程仓库。

文章目录

异常

在这里插入图片描述

方法步骤

克隆代码包括提交记录,复制一份到远程仓库。

  1. 拉取就git代码
  1. 进入目录
  1. 推送到新git

一些异常问题

问题1

$ git push --mirror http://1.0.0.0:9000/ceshi
Enumerating objects: 38952, done.
Counting objects: 100% (38952/38952), done.
Delta compression using up to 8 threads
Compressing objects: 100% (9396/9396), done.
Writing objects: 100% (38952/38952), 164.04 MiB | 293.15 MiB/s, don
Total 38952 (delta 19952), reused 38952 (delta 19952), pack-reused
error: RPC failed; HTTP 502 curl 22 The requested URL returned erro
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date

精彩评论(0)

0 0 举报