doc: Add stable/dev option to update section

pull/1626/head
Noah Gorny 2020-07-14 13:47:21 +03:00
parent 1bdcacf242
commit d8c2256c39
1 changed files with 7 additions and 3 deletions

View File

@ -87,13 +87,17 @@ Have a look at our [bash-it-docker repository](https://github.com/Bash-it/bash-i
### Updating ### Updating
To update Bash-it to the latest version, simply run: To update Bash-it to the latest stable version, simply run:
```bash ```bash
bash-it update bash-it update stable
``` ```
that's all. If you want to update to the latest dev version (directly from master), run:
```bash
bash-it update dev
```
If you are using an older version of Bash-it, it's possible that some functionality has changed, or that the internal structure of how Bash-it organizes its functionality has been updated. If you are using an older version of Bash-it, it's possible that some functionality has changed, or that the internal structure of how Bash-it organizes its functionality has been updated.
For these cases, we provide a `migrate` command: For these cases, we provide a `migrate` command: