把某个公司git项目迁移到gitee的步骤

1.在git上创建项目https://gitee.com/rgqancy/zgg-crm.git
2.执行如下命令:
PS D:\crm_boot\zgg-crm> git config --global user.name "任国强"
PS D:\crm_boot\zgg-crm> git config --global user.email "rgqancy@126.com"
PS D:\crm_boot\zgg-crm> git remote add origin https://gitee.com/rgqancy/zgg-crm.git
error: remote origin already exists.

3.解决上述error: remote origin already exists.
https://blog.csdn.net/top_code/article/details/50381432
修改[remote "origin"] url = 为目标地址。

PS D:\crm_boot\zgg-crm> git push
Enumerating objects: 47238, done.
Counting objects: 100% (47238/47238), done.
Delta compression using up to 4 threads
Compressing objects: 100% (18581/18581), done.
Writing objects: 100% (47238/47238), 47.09 MiB | 4.21 MiB/s, done.
Total 47238 (delta 24278), reused 46809 (delta 23976), pack-reused 0
remote: Resolving deltas: 100% (24278/24278), done.
remote: Powered by GITEE.COM [GNK-6.0]
remote: Create a pull request for 'SpringBootUpgrade' on Gitee by visiting:
remote: https://gitee.com/rgqancy/zgg-crm/pull/new/rgqancy:SpringBootUpgrade...rgqancy:master
To https://gitee.com/rgqancy/zgg-crm.git

  • [new branch] SpringBootUpgrade -> SpringBootUpgrade
    PS D:\crm_boot\zgg-crm>
posted @   任国强  阅读(200)  评论(0编辑  收藏  举报
编辑推荐:
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
历史上的今天:
2018-08-02 Odoo中连接mysql数据库
点击右上角即可分享
微信分享提示