git保留历史记录换库 - Tue, May 26, 2020
git保留历史记录换库
cd existing_repo
git remote rename origin old-origin
#git remote add origin git@github.com:edgex/docker-edgex-consul.git
git remote add origin https://github.com/edgex/docker-edgex-consul.git
git pull --allow-unrelated-histories # maybe need this
git push -u origin --all
git push -u origin --tags