将项目迁移到自定义git服务器上

ssh-keygen -t rsa -C "xxx.xxx.com";

ssh -T git@xxx.xxx.com

git clone ssh://git@xxxx.git

git branch --set-upstream-to=origin/master master

git pull origin master --allow-unrelated-histories

git push origin master

posted @ 2020-12-11 10:54  only_books  阅读(67)  评论(0编辑  收藏  举报