00-git项目迁移

1
2
3
4
5
6
7
# --mirror包含全仓库,但merge无法推送gitee,可使用--bare代替
git clone --mirror https://github.com/dalivk/oldProject.git
git clone --bare https://github.com/dalivk/oldProject.git

cd oldProject.git
git remote set-url --push origin https://github.com/dalivk/newProject.git
git push –-mirror