查看: 38|回覆: 0

提交代码到Gitee

[複製鏈接]

1

主題

0

回帖

0

積分

热心网友

金币
0
閲讀權限
220
精華
0
威望
0
贡献
0
在線時間
0 小時
註冊時間
2009-11-11
發表於 2019-11-29 23:38:00 | 顯示全部樓層 |閲讀模式

一 ,进入项目目录 执行 git init

 

二,执行 git add --all  

 

 

 三,执行  git commit -m "注释"

 

 四,执行 git remote add origin https://gitee.***.git

 

 五,执行  git push -u origin master -f 

 

 

 

中间会出现 登录界面

 六 git代码迁移

git clone --bare 旧的git地址

 

   进入 cd 项目名.git 文件夹 

   

git push --mirror 新的git地址

 

 

 


来源:https://www.cnblogs.com/pengbaowei/p/11960955.html
回覆

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即注册

本版積分規則

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部