3 Star 6 Fork 4

winlinvip / srs.wiki

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
v2_EN_Git.md 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
winlinvip 提交于 2022-01-06 11:57 . Update

HOME > EN > GIT

Git Usage

How to use stable version of SRS? How to update code?

Checkout Branch

Some features are introduced in SRS2.0, the SRS1.0 does not support. The wiki url specifies the version of SRS supports it.

To checkout SRS1.0 branch:

git pull && git checkout 1.0release

To checkout SRS2.0 branch:

git pull && git checkout 2.0release

To checkout SRS3.0 branch(if no 3.0release branch, it's develop):

git pull && git checkout develop

SRS Branches

Each release will branch with hotfix, for example, 1.0release or 2.0release with latest bug fixed.

The master branch used as links. All release branches, including 1.0release, 2.0release, are stable branch.

The develop is the dev branch.

The stable is: 2.0release/1.0release >> develop.

How to get code?

User can git clone the SRS project:

git clone https://github.com/ossrs/srs

Mirrors: https://github.com/ossrs/srs/tree/1.0release#mirrors

How to update code?

Use git pull to update code, never git clone everytime.

git pull

Do not need to delete the objs, just update code and make. Use configure when make failed.

How to sync with SRS project

Please read Pro Git

Fetch and Push

Please read Pro Git

Patch

You can format patch and email to winlin at vip.126.com, for example, patch SRS2:

git format-patch origin/2.0release

Winlin 2014.11

1
https://gitee.com/winlinvip/srs-wiki.git
git@gitee.com:winlinvip/srs-wiki.git
winlinvip
srs-wiki
srs.wiki
master

搜索帮助