Git仓库迁移命令

1. 从原git上clone bare下到本地git

git clone --bare https://***.git

 

2. push mirror到目标仓库spa

git push --mirror https://***.git
相关文章
相关标签/搜索