1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add oschina mirror

This commit is contained in:
winlin 2014-10-27 11:32:34 +08:00
parent 511c814ffb
commit b8db8b0fa4
2 changed files with 97 additions and 12 deletions

View file

@ -2,17 +2,6 @@
echo "更新CSDN镜像的脚本"
# 创建CSDN镜像的过程如下
# 1. 在CSDN上创建项目从https://github.com/winlinvip/simple-rtmp-server拷贝过来。
# 2. 在本地虚拟机上:
# git clone git@code.csdn.net:winlinvip/srs-csdn.git
# 3. 创建同步的branch
# git remote add upstream https://github.com/winlinvip/simple-rtmp-server.git
# git fetch upstream
# git checkout upstream/master -b srs.master
# 4. 执行本同步更新脚本,更新。
# bash scripts/csdn.mirror.sh
echo "argv[0]=$0"
if [[ ! -f $0 ]]; then
echo "directly execute the scripts on shell.";
@ -39,7 +28,7 @@ ret=$?; if [[ 0 -ne $ret ]]; then
1. 在CSDN上创建项目从https://github.com/winlinvip/simple-rtmp-server拷贝过来。
2. 在本地虚拟机上:
git clone git@code.csdn.net:winlinvip/srs-csdn.git
git checkout master && git branch 1.0release && git push origin 1.0release
cd srs-csdn && git checkout master && git branch 1.0release && git push origin 1.0release
3. 创建同步的branch
git remote add upstream https://github.com/winlinvip/simple-rtmp-server.git
git fetch upstream