diff --git a/docs/basics/stable-versions.md b/docs/basics/stable-versions.md index 223c17a4..7e62a338 100644 --- a/docs/basics/stable-versions.md +++ b/docs/basics/stable-versions.md @@ -9,10 +9,10 @@ In order to run a stable version you need to have the corresponding git checkout Assuming you have already cloned the repository into `~/nextcloud-docker-dev/workspace/server` you can run the following commands to create a new worktree for the stable28 branch: ```bash +cd ~/nextcloud-docker-dev/workspace/server # make sure the stable version is fetched git fetch origin stable28:stable28 # create a new worktree for the stable28 branch -cd ~/nextcloud-docker-dev/workspace/server git worktree add ../stable28 stable28 cd ~/nextcloud-docker-dev/workspace/stable28 # make sure submodules are installed in the stable server root directory