将代码从云效迁移至gitlab

1、在gitlab上创建空项目,为项目创建另一个master分支,并将默认分支改成master(很重要)

2、将云效代码克隆至本地

    git clone --mirror https://codeup.aliyun.com/653bceacea6fb/device-manage/agent.git

3、进入agent.git项目,push到gitlab(分支也都会迁移)

    cd agent.git
    git push --mirror https://gitlab.atstm.cc/tools/ali.git
声明:本文为原创,作者为 辣条①号,转载时请保留本声明及附带文章链接:https://boke.wsfnk.com/archives/1418.html
谢谢你请我吃辣条谢谢你请我吃辣条

如果文章对你有帮助,欢迎点击上方按钮打赏作者

最后编辑于:2024/11/16作者: 辣条①号

目标:网络规划设计师、系统工程师、ceph存储工程师、云计算工程师。 不负遇见,不谈亏欠!

暂无评论

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

arrow grin ! ? cool roll eek evil razz mrgreen smile oops lol mad twisted wink idea cry shock neutral sad ???

文章目录