github上的程序复制到gitee
本方案是针对于没有外网的情况,访问不到。
- 需要寻找一个有外网权限的电脑使用git或者页面形式下载代码到本地。
- 修改引用地址,部分群晖的shell脚本都在引用的github的纯文件地址,转到gitee之后好多连接也是不能访问的。 转到gitee之后找到对应文件的地址复制浏览器地址栏的地址 ,修改bolb为raw,即可。
git init
git add .
git commit -m "first commit"
git remote add origin https://gitee.com/xxxxxxx.git
git push -f -u origin "master"
如果碰到权限问题,尝试运行以下命令:
git config --global --add safe.directory 'your——local——path'
curl https://gitee.com/54jl/video-station-ffmpeg-patcher/raw/master/patcher.sh | bash -s -- -v 5
License:
CC BY 4.0