Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 170b549

Browse files
authoredJan 7, 2025··
README.md: elaboration for cloning from git (#5655)
Added warning about cloning master branch - that using it is not recommended because it may be in development. Changed clone command so it indicates a specific production ready version.
1 parent f466a22 commit 170b549

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -566,10 +566,11 @@ pecl install swoole
566566

567567
### 2. Install from source (recommended)
568568

569-
Please download the source packages from [Releases](https://github.com/swoole/swoole-src/releases) or:
569+
Please download the source packages from [Releases](https://github.com/swoole/swoole-src/releases) or clone a specific version. Don't use `master` branch as it may be in development.
570570

571+
To clone the source code from git specify a tag:
571572
```shell
572-
git clone https://github.com/swoole/swoole-src.git && \
573+
git clone --branch v6.0.0 --single-branch https://github.com/swoole/swoole-src.git && \
573574
cd swoole-src
574575
```
575576

0 commit comments

Comments
 (0)
Please sign in to comment.