From 9dd2267af48ce83939e94a032f4d6f4a680c9ed2 Mon Sep 17 00:00:00 2001 From: Hamza Date: Thu, 7 May 2026 13:49:35 +0200 Subject: [PATCH] fix(docs): cd before fetching Signed-off-by: Hamza --- docs/basics/stable-versions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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