deepinuser17
deepin
2021-09-11 07:45 首先克隆整个库到本地目录。 如果本地已经有整个库, 这一步就不需要了。
git clone --mirror https://raw.githubusercontent.com/jinwyp/one_click_script
消除github远端源
cd one_click_script
git remote rm origin
添加gitee远端源
cd one_click_script
git remote add origin https://gitee.com/jinwyp/one_click_script
然后就可以上传本地的主分支,新分支到gitee远端源
推所有分支
git push origin --all
或只推主分支:
git push origin master
Reply Like 0 View the author


中文 

github网站的项目转载同步到gitee后安装中github网址怎么改呢
如https://raw.githubusercontent.com/jinwyp/one_click_script/master/*_install.sh