2023年1月5日

将Git仓库的代码上传到一个新的仓库

摘要: clone 代码到本地 git clone https://xxx.com/repo.git myRepo 删除原.git文件,重新初始化项目目录为git目录 git init 添加文件 git add . 提交文件到本地仓库 git commit -m "first commit" 关联远程仓库 阅读全文

posted @ 2023-01-05 18:07 银河漫步 阅读(553) 评论(0) 推荐(0)

导航