From c974f9b4d9b5c76db1710330106ab211bea8767d Mon Sep 17 00:00:00 2001 From: xfocus3 <211965064+xfocus3@users.noreply.github.com> Date: Mon, 1 Jun 2026 20:43:03 +0100 Subject: [PATCH] docs: mention branch checkout side effect --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c780919..32742b7 100644 --- a/README.md +++ b/README.md @@ -98,9 +98,10 @@ hyperfine \ 'rails runner true' ``` -Make sure your working tree is clean before switching branches. If you want to benchmark -uncommitted changes, consider using `git worktree` and benchmarking the same command in each -worktree instead. +Make sure your working tree is clean before switching branches. Because this `--setup` command +changes the checkout, the repository will remain on the last branch from `--parameter-list` +after the benchmark finishes. If you want to benchmark uncommitted changes, consider using +`git worktree` and benchmarking the same command in each worktree instead. ### Intermediate shell